Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -138,7 +138,7 @@ def preview(project_path: str = DEFAULT_PROJECT_PATH):
|
|
| 138 |
else:
|
| 139 |
return "No 'index.html' found for preview."
|
| 140 |
except Exception as e:
|
| 141 |
-
return f preview project: {str(e)}"
|
| 142 |
|
| 143 |
def main():
|
| 144 |
.Blocks() as demo:
|
|
|
|
| 138 |
else:
|
| 139 |
return "No 'index.html' found for preview."
|
| 140 |
except Exception as e:
|
| 141 |
+
return f """preview project: {str(e)}"""
|
| 142 |
|
| 143 |
def main():
|
| 144 |
.Blocks() as demo:
|