Spaces:
Sleeping
Sleeping
add guardrail llm
Browse files
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=
|
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()
|