Spaces:
Runtime error
Runtime error
Commit
·
5ae9a2d
1
Parent(s):
1fae8fd
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
os.system('pip install torch')
|
3 |
os.system('pip install transformers')
|
4 |
os.system('pip install scipy')
|
@@ -57,7 +57,7 @@ demo = gr.Interface(
|
|
57 |
inputs=gr.Textbox(placeholder="Write your tweet here..."), # Text input field
|
58 |
outputs="label", # Output type (here, we only display the label with the highest score)
|
59 |
interpretation="default", # Interpretation mode
|
60 |
-
examples=[["
|
61 |
|
62 |
# Launch the Gradio interface
|
63 |
demo.launch()
|
|
|
1 |
+
import os
|
2 |
os.system('pip install torch')
|
3 |
os.system('pip install transformers')
|
4 |
os.system('pip install scipy')
|
|
|
57 |
inputs=gr.Textbox(placeholder="Write your tweet here..."), # Text input field
|
58 |
outputs="label", # Output type (here, we only display the label with the highest score)
|
59 |
interpretation="default", # Interpretation mode
|
60 |
+
examples=[["Have Fun with it...will be updated soon!"]]) # Example input(s) to display on the interface
|
61 |
|
62 |
# Launch the Gradio interface
|
63 |
demo.launch()
|