alex-abb commited on
Commit
31e5801
1 Parent(s): 8c430fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,4 +1,3 @@
1
-
2
  import torch
3
  import os
4
  import requests
@@ -25,6 +24,7 @@ def analyze_sentiment(text):
25
 
26
 
27
  demo = gr.Interface(
 
28
  inputs=["text"],
29
  outputs=["text"],
30
  )
 
 
1
  import torch
2
  import os
3
  import requests
 
24
 
25
 
26
  demo = gr.Interface(
27
+ fn = query
28
  inputs=["text"],
29
  outputs=["text"],
30
  )