Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,8 @@ with gr.Blocks() as app:
|
|
49 |
fn=lambda *args: generate_response(prompt_template, **dict(zip([inp["key"] for inp in inputs], args))),
|
50 |
inputs=input_fields,
|
51 |
outputs=output,
|
52 |
-
api_name=f"/{tab_name.lower().replace(' ', '_')}_execute"
|
|
|
53 |
)
|
54 |
|
55 |
# Tabs for functionalities
|
|
|
49 |
fn=lambda *args: generate_response(prompt_template, **dict(zip([inp["key"] for inp in inputs], args))),
|
50 |
inputs=input_fields,
|
51 |
outputs=output,
|
52 |
+
api_name=f"/{tab_name.lower().replace(' ', '_')}_execute",
|
53 |
+
stream=True
|
54 |
)
|
55 |
|
56 |
# Tabs for functionalities
|