cosrigel commited on
Commit
f9232e9
·
verified ·
1 Parent(s): 5962822

Update app_local.py

Browse files
Files changed (1) hide show
  1. app_local.py +1 -1
app_local.py CHANGED
@@ -696,7 +696,7 @@ if __name__ == "__main__":
696
  print("Launching Gradio interface...")
697
  if os.getenv("SPACE_ID"):
698
  # Chạy trong Hugging Face Spaces
699
- demo.queue(concurrency_count=2, max_size=32).launch()
700
  else:
701
  # Chạy local
702
  demo.launch(share=True, server_name="0.0.0.0")
 
696
  print("Launching Gradio interface...")
697
  if os.getenv("SPACE_ID"):
698
  # Chạy trong Hugging Face Spaces
699
+ demo.queue().launch()
700
  else:
701
  # Chạy local
702
  demo.launch(share=True, server_name="0.0.0.0")