Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,10 +35,10 @@ inputs = [
|
|
35 |
outputs = gr.outputs.Textbox(label="Predicted Sentiment")
|
36 |
|
37 |
gr.Interface(fn=predict_sentiment, inputs=inputs, outputs=outputs, title="Sentiment Analysis", description="Compare the output of two models", examples=[
|
38 |
-
["max laid his hand upon the old man's arm", "Pretrained Model"
|
39 |
-
["the red sword sealed their vows!", "Fine-tuned Model"
|
40 |
-
["and that is why, the lonesome day,", "Pretrained Model"
|
41 |
-
["it flows so long as falls the rain", "Fine-tuned Model"
|
42 |
-
["thy hands all cunning arts that women prize", "Pretrained Model"
|
43 |
-
["on us lift up the light", "Fine-tuned Model"
|
44 |
],).launch();
|
|
|
35 |
outputs = gr.outputs.Textbox(label="Predicted Sentiment")
|
36 |
|
37 |
gr.Interface(fn=predict_sentiment, inputs=inputs, outputs=outputs, title="Sentiment Analysis", description="Compare the output of two models", examples=[
|
38 |
+
["max laid his hand upon the old man's arm", "Pretrained Model"],
|
39 |
+
["the red sword sealed their vows!", "Fine-tuned Model"],
|
40 |
+
["and that is why, the lonesome day,", "Pretrained Model"],
|
41 |
+
["it flows so long as falls the rain", "Fine-tuned Model"],
|
42 |
+
["thy hands all cunning arts that women prize", "Pretrained Model"],
|
43 |
+
["on us lift up the light", "Fine-tuned Model"],
|
44 |
],).launch();
|