ethanrom commited on
Commit
4fffde5
1 Parent(s): 9aeeba3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
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, inference time, and model size of two models").launch();
 
 
 
 
 
 
 
 
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();