ysharma HF staff commited on
Commit
0178eef
1 Parent(s): 4ffa194
Files changed (1) hide show
  1. app.py +4 -2
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
- upgrade("gradio")
 
 
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