Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,4 +43,11 @@ 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="Compare the output
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
gr.outputs.Textbox(label="Model Size (params)"),
|
| 44 |
]
|
| 45 |
|
| 46 |
+
gr.Interface(fn=predict_sentiment, inputs=inputs, outputs=outputs, title="Sentiment Analysis", description="Compare the output of two models", examples=[
|
| 47 |
+
["max laid his hand upon the old man's arm", "Pretrained Model"],
|
| 48 |
+
["the red sword sealed their vows!", "Fine-tuned Model"],
|
| 49 |
+
["and that is why, the lonesome day,", "Pretrained Model"],
|
| 50 |
+
["it flows so long as falls the rain", "Fine-tuned Model"],
|
| 51 |
+
["thy hands all cunning arts that women prize", "Pretrained Model"],
|
| 52 |
+
["on us lift up the light", "Fine-tuned Model"],
|
| 53 |
+
],).launch();
|