Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -158,7 +158,7 @@ def execute_terminal_command(command):
|
|
158 |
|
159 |
def install_package(package_name):
|
160 |
"""Installs a package using pip."""
|
161 |
-
output, error = execute_terminal_command(f"'"
|
162 |
if error:
|
163 |
return f"'"Error installing package: {error}"'"
|
164 |
else:
|
|
|
158 |
|
159 |
def install_package(package_name):
|
160 |
"""Installs a package using pip."""
|
161 |
+
output, error = execute_terminal_command(f"'"pip install {package_name}"'")
|
162 |
if error:
|
163 |
return f"'"Error installing package: {error}"'"
|
164 |
else:
|