Spaces:
Running
Running
Gradio update gradio==2.6.4
Browse filesneeded to put upgrade gradio at top of app.py file
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
import gradio as gr
|
2 |
-
from transformers import pipeline
|
3 |
-
|
4 |
# to correct runtime error 01-03-2024
|
5 |
import os
|
6 |
os.system("pip uninstall -y gradio")
|
7 |
os.system("pip install gradio==2.6.4")
|
8 |
|
|
|
|
|
|
|
9 |
app = gr.Blocks()
|
10 |
|
11 |
model_id_1 = "nlptown/bert-base-multilingual-uncased-sentiment"
|
|
|
|
|
|
|
|
|
1 |
# to correct runtime error 01-03-2024
|
2 |
import os
|
3 |
os.system("pip uninstall -y gradio")
|
4 |
os.system("pip install gradio==2.6.4")
|
5 |
|
6 |
+
import gradio as gr
|
7 |
+
from transformers import pipeline
|
8 |
+
|
9 |
app = gr.Blocks()
|
10 |
|
11 |
model_id_1 = "nlptown/bert-base-multilingual-uncased-sentiment"
|