aiqtech commited on
Commit
ee467bc
·
verified ·
1 Parent(s): 59ca7f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -436,11 +436,13 @@ if __name__ == "__main__":
436
  print(f"Warning: Initial preprocessing test failed: {e}")
437
 
438
  # Gradio 인터페이스 실행
 
439
  demo.launch(
440
  allowed_paths=[PERSISTENT_DIR],
441
- enable_queue=True,
442
- max_threads=4,
443
- show_error=True
 
444
  )
445
 
446
  except Exception as e:
 
436
  print(f"Warning: Initial preprocessing test failed: {e}")
437
 
438
  # Gradio 인터페이스 실행
439
+ demo.queue() # 큐 기능 활성화
440
  demo.launch(
441
  allowed_paths=[PERSISTENT_DIR],
442
+ server_name="0.0.0.0",
443
+ server_port=7860,
444
+ show_error=True,
445
+ share=False
446
  )
447
 
448
  except Exception as e: