Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files
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 |
-
|
|
|
|
|
|
|
|
|
| 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()
|