openfree commited on
Commit
ca01e43
·
verified ·
1 Parent(s): 70e9327

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -950,7 +950,7 @@ if __name__ == "__main__":
950
  demo_instance = Demo() # Demo 인스턴스 생성
951
  demo = create_main_interface() # 인터페이스 생성
952
  demo.queue(
953
- concurrency_count=20,
954
  status_update_rate=10,
955
  api_open=False
956
  ).launch(
@@ -962,6 +962,3 @@ if __name__ == "__main__":
962
  except Exception as e:
963
  print(f"Initialization error: {e}")
964
  raise
965
-
966
-
967
-
 
950
  demo_instance = Demo() # Demo 인스턴스 생성
951
  demo = create_main_interface() # 인터페이스 생성
952
  demo.queue(
953
+ default_concurrency_limit=20, # concurrency_count 대신 default_concurrency_limit 사용
954
  status_update_rate=10,
955
  api_open=False
956
  ).launch(
 
962
  except Exception as e:
963
  print(f"Initialization error: {e}")
964
  raise