Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
from lmdeploy.serve.gradio.turbomind_coupled import *
|
| 2 |
from lmdeploy.messages import TurbomindEngineConfig
|
| 3 |
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
os.system("pip uninstall -y gradio")
|
| 3 |
+
os.system("pip install gradio<4.0.0")
|
| 4 |
from lmdeploy.serve.gradio.turbomind_coupled import *
|
| 5 |
from lmdeploy.messages import TurbomindEngineConfig
|
| 6 |
|