Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def run_command(command: str, project_path: str = None) -> str:
|
|
77 |
output, error = process.communicate()
|
78 |
if error:
|
79 |
return f"""Error: {error.decode('utf-8')}"""
|
80 |
-
return.decode("utf-8
|
81 |
except Exception as e:
|
82 |
return f"""Error executing command: {stre)}"""
|
83 |
_project(project_name: str, project_path: str = DEFAULT_PROJECTPATH):
|
|
|
77 |
output, error = process.communicate()
|
78 |
if error:
|
79 |
return f"""Error: {error.decode('utf-8')}"""
|
80 |
+
return.decode("""utf-8""")
|
81 |
except Exception as e:
|
82 |
return f"""Error executing command: {stre)}"""
|
83 |
_project(project_name: str, project_path: str = DEFAULT_PROJECTPATH):
|