serenade87 commited on
Commit
0c0acb2
·
verified ·
1 Parent(s): 6bf6d45

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -112,4 +112,6 @@ with gr.Blocks(title="PSCT → Lua", theme=gr.themes.Soft()) as demo:
112
  gr.Examples(examples=EXAMPLES, inputs=[name, psct])
113
 
114
  if __name__ == "__main__":
115
- demo.queue(max_size=8).launch(server_name="0.0.0.0", server_port=7860)
 
 
 
112
  gr.Examples(examples=EXAMPLES, inputs=[name, psct])
113
 
114
  if __name__ == "__main__":
115
+ # Don't pass server_name/port — HF Spaces sets GRADIO_SERVER_NAME and
116
+ # GRADIO_SERVER_PORT for us. Forcing them fights the platform's binding.
117
+ demo.queue(max_size=8).launch()