Shami96 commited on
Commit
8943602
·
verified ·
1 Parent(s): 5bf7cce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- demo.launch()
 
 
 
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
+