Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
|
| 2 |
import gradio as gr
|
| 3 |
from transformers import pipeline
|
| 4 |
|
|
@@ -42,8 +41,7 @@ demo = gr.Interface(
|
|
| 42 |
"Fine-tuned RoBERTa model trained on the dair-ai/emotion dataset."
|
| 43 |
),
|
| 44 |
examples=examples,
|
| 45 |
-
allow_flagging="never",
|
| 46 |
)
|
| 47 |
|
| 48 |
if __name__ == "__main__":
|
| 49 |
-
demo.launch()
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
|
|
|
| 41 |
"Fine-tuned RoBERTa model trained on the dair-ai/emotion dataset."
|
| 42 |
),
|
| 43 |
examples=examples,
|
|
|
|
| 44 |
)
|
| 45 |
|
| 46 |
if __name__ == "__main__":
|
| 47 |
+
demo.launch()
|