project-baize commited on
Commit
f5c6e14
1 Parent(s): 2a8236f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -10
app.py CHANGED
@@ -60,9 +60,9 @@ def predict(text,
60
  return
61
  except:
62
  pass
63
- print(text)
64
- print(x)
65
- print("="*80)
66
  try:
67
  yield a,b,"Generate Success"
68
  except:
@@ -223,10 +223,4 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
223
  )
224
  demo.title = "Baize"
225
 
226
- demo.queue(
227
- concurrency_count=4,
228
- max_size=100,
229
- ).launch(
230
- max_threads=5,
231
- server_name="0.0.0.0",
232
- )
 
60
  return
61
  except:
62
  pass
63
+ #print(text)
64
+ #print(x)
65
+ #print("="*80)
66
  try:
67
  yield a,b,"Generate Success"
68
  except:
 
223
  )
224
  demo.title = "Baize"
225
 
226
+ demo.queue(concurrency_count=1,).launch()