Update app.py
This commit is contained in:
parent
2a8236f330
commit
f5c6e148db
14
app.py
14
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",
|
||||
)
|
||||
demo.queue(concurrency_count=1,).launch()
|
Loading…
Reference in New Issue