Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ def get_sentiment(input_text):
|
|
| 6 |
return result[0]['label']
|
| 7 |
|
| 8 |
#Launch the webui
|
| 9 |
-
iface = gr.
|
| 10 |
fn = get_sentiment,
|
| 11 |
inputs= "text",
|
| 12 |
outputs = "text",
|
|
|
|
| 6 |
return result[0]['label']
|
| 7 |
|
| 8 |
#Launch the webui
|
| 9 |
+
iface = gr.Interface(
|
| 10 |
fn = get_sentiment,
|
| 11 |
inputs= "text",
|
| 12 |
outputs = "text",
|