diff --git a/app.py b/app.py index 83dd896..7ed4623 100644 --- a/app.py +++ b/app.py @@ -60,9 +60,9 @@ def predict(text, return except: pass - print(text) - print(x) - print("="*80) + #print(text) + #print(x) + #print("="*80) try: yield a,b,"Generate Success" except: @@ -223,10 +223,4 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo: ) demo.title = "Baize" -demo.queue( - concurrency_count=4, - max_size=100, -).launch( - max_threads=5, - server_name="0.0.0.0", -) \ No newline at end of file +demo.queue(concurrency_count=1,).launch() \ No newline at end of file