CK42 commited on
Commit
bb7bd3d
1 Parent(s): 606a776

Update app.py Gradio==3.28.1

Browse files

# to correct 'socket-options' Runtime error from 3.28.3 to 3.28.1

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  # to correct runtime error 01-03-2024
2
  import os
3
  os.system("pip uninstall -y gradio")
4
- os.system("pip install gradio==3.28.3") # to correct no blocks Runtime error from 2.6.4 to 3.28.3
5
 
6
  import gradio as gr
7
  from transformers import pipeline
 
1
  # to correct runtime error 01-03-2024
2
  import os
3
  os.system("pip uninstall -y gradio")
4
+ os.system("pip install gradio==3.28.1") # to correct 'socket-options' Runtime error from 3.28.3 to 3.28.1
5
 
6
  import gradio as gr
7
  from transformers import pipeline