pdarleyjr commited on
Commit
727f67b
·
1 Parent(s): 68f2394

Simplify app configuration to minimal settings

Browse files
Files changed (1) hide show
  1. app.py +2 -9
app.py CHANGED
@@ -48,17 +48,10 @@ demo = gr.Interface(
48
  allow_flagging="never"
49
  )
50
 
51
- # Launch the app
52
  if __name__ == "__main__":
53
  demo.queue()
54
  demo.launch(
55
  server_name="0.0.0.0",
56
- share=False,
57
- show_error=True,
58
- allowed_paths=[],
59
- auth=None,
60
- ssl_verify=False, # Allow cross-origin requests
61
- ssl_keyfile=None,
62
- ssl_certfile=None,
63
- ssl_keyfile_password=None
64
  )
 
48
  allow_flagging="never"
49
  )
50
 
51
+ # Launch the app with minimal configuration
52
  if __name__ == "__main__":
53
  demo.queue()
54
  demo.launch(
55
  server_name="0.0.0.0",
56
+ server_port=7860
 
 
 
 
 
 
 
57
  )