pawlo2013 commited on
Commit
f5d4495
·
1 Parent(s): 3a0cf74

fix port issue

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -132,5 +132,5 @@ with gr.Blocks(theme=theme) as demo:
132
  show_progress=True,
133
  )
134
 
135
-
136
- demo.launch(server_port=3000, max_threads=1)
 
132
  show_progress=True,
133
  )
134
 
135
+ if __name__ == "__main__":
136
+ demo.launch(max_threads=1)