Spaces:
Running
Running
Update app.py comment out Gradio import
Browse filescomment out:
# # to correct runtime error 01-03-2024
# import os
# os.system("pip uninstall -y gradio")
# os.system("pip install gradio==2.6.4") # to correct 'Blocks' Runtime error from 2.6.4 to Gradio==2.6.4
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==2.6.4") # to correct 'Blocks' Runtime error from 2.6.4 to Gradio==2.6.4
|
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==2.6.4") # to correct 'Blocks' Runtime error from 2.6.4 to Gradio==2.6.4
|
5 |
|
6 |
import gradio as gr
|
7 |
from transformers import pipeline
|