kaitehtzeng commited on
Commit
1d73163
1 Parent(s): f0d74e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -181,7 +181,10 @@ def trial(text):
181
  else:
182
  return "Student"
183
 
184
- pip install -q gradio==3.45.0
 
 
 
185
 
186
  import gradio as gr
187
 
 
181
  else:
182
  return "Student"
183
 
184
+ import subprocess
185
+
186
+ # Use subprocess to run the pip install command
187
+ subprocess.run(['pip', 'install', '-q', 'gradio==3.45.0'])
188
 
189
  import gradio as gr
190