amir22010 commited on
Commit
a3a9c22
·
1 Parent(s): aed3f20

add guardrail llm

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,5 +109,5 @@ async def greet(product,description):
109
  else:
110
  await asyncio.sleep(0.1) # sleep for a bit before checking the tasks again
111
 
112
- demo = gr.Interface(fn=await greet, inputs=["text","text"], outputs="text")
113
  demo.launch()
 
109
  else:
110
  await asyncio.sleep(0.1) # sleep for a bit before checking the tasks again
111
 
112
+ demo = gr.Interface(fn=greet, inputs=["text","text"], outputs="text", concurrency_limit=10)
113
  demo.launch()