Spaces:
Runtime error
Runtime error
updated app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def sentiment_analysis(model_type, text):
|
|
63 |
return scores
|
64 |
# , hist_df.head()
|
65 |
|
66 |
-
model_type = gr.Radio(choices=['distilbert', 'roberta'], label='Select model type', value='roberta')
|
67 |
#Gradio app interface
|
68 |
#Gradio app interface
|
69 |
demo = gr.Interface(fn = sentiment_analysis,
|
|
|
63 |
return scores
|
64 |
# , hist_df.head()
|
65 |
|
66 |
+
model_type = gr.Radio(choices=['distilbert', 'roberta'], label='Select model type', value='roberta' )
|
67 |
#Gradio app interface
|
68 |
#Gradio app interface
|
69 |
demo = gr.Interface(fn = sentiment_analysis,
|