update
Browse files
app.py
CHANGED
@@ -8,8 +8,10 @@ import subprocess
|
|
8 |
import sys
|
9 |
def upgrade(package):
|
10 |
subprocess.run([sys.executable, "-m", "pip", "install", "--upgrade", package])
|
11 |
-
|
12 |
-
|
|
|
|
|
13 |
|
14 |
|
15 |
import gradio as gr
|
|
|
8 |
import sys
|
9 |
def upgrade(package):
|
10 |
subprocess.run([sys.executable, "-m", "pip", "install", "--upgrade", package])
|
11 |
+
#upgrade("gradio==3.116")
|
12 |
+
def install_specific_version(package, version):
|
13 |
+
subprocess.run([sys.executable, "-m", "pip", "install", package+version])
|
14 |
+
install_specific_version("gradio==", "3.16.0")
|
15 |
|
16 |
|
17 |
import gradio as gr
|