matthoffner commited on
Commit
cb2c42b
·
1 Parent(s): f0b6d3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ from utils import *
7
  from presets import *
8
  from overwrites import *
9
 
10
- logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)
11
  logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))
12
 
13
  PromptHelper.compact_text_chunks = compact_text_chunks
@@ -95,4 +95,4 @@ with gr.Blocks() as demo:
95
 
96
  if __name__ == "__main__":
97
  demo.title = "WizardLM Doc Chat"
98
- demo.launch(server_name="0.0.0.0", server_port=7860, share=False)
 
7
  from presets import *
8
  from overwrites import *
9
 
10
+ logging.basicConfig(stream=sys.stdout, level=logging.INFO)
11
  logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))
12
 
13
  PromptHelper.compact_text_chunks = compact_text_chunks
 
95
 
96
  if __name__ == "__main__":
97
  demo.title = "WizardLM Doc Chat"
98
+ demo.queue().launch(server_name="0.0.0.0", server_port=7860, share=False)