Spaces:
Runtime error
Runtime error
Upgraded gradio version in HF spaces with a workaround
Browse files
app.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
from examples.keyphrases import demo as keyphrases_demo
|
3 |
|
|
|
1 |
+
# noinspection PyUnresolvedReferences
|
2 |
+
import env # Ugly workaround to upgrade gradio version in HF Spaces
|
3 |
import gradio as gr
|
4 |
from examples.keyphrases import demo as keyphrases_demo
|
5 |
|
env.py
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import pip
|
2 |
+
pip.main(["install", "gradio==3.0.11"])
|