Spaces:
Build error
Build error
mrfakename
commited on
Commit
•
cf449d9
1
Parent(s):
5c1d505
Update app.py
Browse files
app.py
CHANGED
@@ -5,12 +5,9 @@ def setup_virtual_env():
|
|
5 |
subprocess.run(['python', '-m', 'venv', './venv_ui'])
|
6 |
|
7 |
# Activate the virtual environment
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
activate_script = os.path.join('venv_ui', 'bin', 'activate')
|
12 |
-
subprocess.run(['source', activate_script], shell=True)
|
13 |
-
|
14 |
# Install required packages
|
15 |
subprocess.run(['pip', 'install', 'gradio', 'requests'])
|
16 |
|
|
|
5 |
subprocess.run(['python', '-m', 'venv', './venv_ui'])
|
6 |
|
7 |
# Activate the virtual environment
|
8 |
+
activate_script = os.path.join('venv_ui', 'bin', 'activate')
|
9 |
+
subprocess.run([activate_script], shell=True)
|
10 |
+
|
|
|
|
|
|
|
11 |
# Install required packages
|
12 |
subprocess.run(['pip', 'install', 'gradio', 'requests'])
|
13 |
|