CK42 commited on
Commit
37b8290
1 Parent(s): 11999c8

Gradio update gradio==2.6.4

Browse files

needed to put upgrade gradio at top of app.py file

Files changed (1) hide show
  1. app.py +3 -3
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"