HenryY2023 commited on
Commit
ef010f9
·
verified ·
1 Parent(s): fda3f46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,9 +12,9 @@ def install_packages():
12
 
13
  # Install compatible versions in a specific order
14
  subprocess.check_call([sys.executable, "-m", "pip", "install", "websockets==10.4"])
15
- # Updated Gradio to a more recent version
16
- subprocess.check_call([sys.executable, "-m", "pip", "install", "gradio==4.8.0"])
17
- subprocess.check_call([sys.executable, "-m", "pip", "install", "gradio-client==0.5.0"])
18
 
19
  # Install the rest of the requirements
20
  subprocess.check_call([sys.executable, "-m", "pip", "install", "PyPDF2==3.0.1"])
 
12
 
13
  # Install compatible versions in a specific order
14
  subprocess.check_call([sys.executable, "-m", "pip", "install", "websockets==10.4"])
15
+ # Update both gradio and gradio-client to compatible versions
16
+ subprocess.check_call([sys.executable, "-m", "pip", "install", "gradio==3.44.4"])
17
+ subprocess.check_call([sys.executable, "-m", "pip", "install", "gradio-client==0.6.1"])
18
 
19
  # Install the rest of the requirements
20
  subprocess.check_call([sys.executable, "-m", "pip", "install", "PyPDF2==3.0.1"])