Update app.py
Browse filesremoved
interpretation="default", # Interpretation mode
app.py
CHANGED
|
@@ -74,7 +74,6 @@ demo = gr.Interface(
|
|
| 74 |
fn=sentiment_analysis, # Function to perform sentiment analysis
|
| 75 |
inputs=gr.Textbox(placeholder="Write your tweet here..."), # Text input field
|
| 76 |
outputs="label", # Output type (here, we only display the label with the highest score)
|
| 77 |
-
interpretation="default", # Interpretation mode
|
| 78 |
examples=[["This is wonderful!"]]) # Example input(s) to display on the interface
|
| 79 |
|
| 80 |
# Launch the Gradio interface
|
|
|
|
| 74 |
fn=sentiment_analysis, # Function to perform sentiment analysis
|
| 75 |
inputs=gr.Textbox(placeholder="Write your tweet here..."), # Text input field
|
| 76 |
outputs="label", # Output type (here, we only display the label with the highest score)
|
|
|
|
| 77 |
examples=[["This is wonderful!"]]) # Example input(s) to display on the interface
|
| 78 |
|
| 79 |
# Launch the Gradio interface
|