Spaces:
Sleeping
Sleeping
Commit ·
7e79f99
1
Parent(s): 7c0b56e
Updated app.py, possible fix for coding module integration, fixed main error
Browse files
app.py
CHANGED
|
@@ -237,7 +237,7 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Wireframe Layout Normalizer") as d
|
|
| 237 |
# -----------------------------------------------------------------------------
|
| 238 |
app = gr.mount_gradio_app(api, demo, path="/")
|
| 239 |
|
| 240 |
-
if
|
| 241 |
import uvicorn
|
| 242 |
# For local testing
|
| 243 |
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
|
| 237 |
# -----------------------------------------------------------------------------
|
| 238 |
app = gr.mount_gradio_app(api, demo, path="/")
|
| 239 |
|
| 240 |
+
if __name__ == "__main__":
|
| 241 |
import uvicorn
|
| 242 |
# For local testing
|
| 243 |
uvicorn.run(app, host="0.0.0.0", port=7860)
|