Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ outputs = [
|
|
43 |
gr.outputs.Textbox(label="Model Size (params)"),
|
44 |
]
|
45 |
|
46 |
-
gr.Interface(fn=predict_sentiment, inputs=inputs, outputs=outputs, title="Sentiment Analysis", description="
|
47 |
["max laid his hand upon the old man's arm", "Pretrained"],
|
48 |
["the red sword sealed their vows!", "Fine-tuned"],
|
49 |
["and that is why, the lonesome day,", "Pretrained"],
|
|
|
43 |
gr.outputs.Textbox(label="Model Size (params)"),
|
44 |
]
|
45 |
|
46 |
+
gr.Interface(fn=predict_sentiment, inputs=inputs, outputs=outputs, title="Sentiment Analysis", description="roberta-large-mnli fine tuned with poem_sentiment dataset for sentiment analysis", examples=[
|
47 |
["max laid his hand upon the old man's arm", "Pretrained"],
|
48 |
["the red sword sealed their vows!", "Fine-tuned"],
|
49 |
["and that is why, the lonesome day,", "Pretrained"],
|