Spaces:
Runtime error
Runtime error
Commit ·
84fe789
1
Parent(s): 1ce9c25
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,5 +20,5 @@ inputs = tokenizer(text, return_tensors="pt")
|
|
| 20 |
# Make prediction
|
| 21 |
|
| 22 |
|
| 23 |
-
iface = gr.Interface(fn=greet, Review=text,
|
| 24 |
iface.launch()
|
|
|
|
| 20 |
# Make prediction
|
| 21 |
|
| 22 |
|
| 23 |
+
iface = gr.Interface(fn=greet, Review=text, Predicted_sentiment=predicted_label)
|
| 24 |
iface.launch()
|