liuyizhang commited on
Commit
35bdba8
1 Parent(s): 9463411

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -975,7 +975,7 @@ def main_gradio(args):
975
  print(f'device = {device}')
976
  print(f'torch.cuda.is_available = {torch.cuda.is_available()}')
977
  computer_info()
978
- block.queue(max_size=10)
979
  block.launch(server_name='0.0.0.0', server_port=args.port, debug=args.debug, share=args.share)
980
 
981
  if __name__ == "__main__":
 
975
  print(f'device = {device}')
976
  print(f'torch.cuda.is_available = {torch.cuda.is_available()}')
977
  computer_info()
978
+ block.queue(max_size=10, api_open=False)
979
  block.launch(server_name='0.0.0.0', server_port=args.port, debug=args.debug, share=args.share)
980
 
981
  if __name__ == "__main__":