Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
)
|