Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -531,4 +531,6 @@ with gr.Blocks(title="Professional Invoice Generator", css=custom_css) as demo:
|
|
| 531 |
)
|
| 532 |
|
| 533 |
if __name__ == "__main__":
|
| 534 |
-
|
|
|
|
|
|
|
|
|
| 531 |
)
|
| 532 |
|
| 533 |
if __name__ == "__main__":
|
| 534 |
+
import os
|
| 535 |
+
demo.launch(server_name="0.0.0.0", server_port=int(os.getenv("PORT", "7860")), show_error=True)
|
| 536 |
+
|