Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ with gr.Blocks() as app:
|
|
48 |
)
|
49 |
# Button and output
|
50 |
button = gr.Button(f"{tab_name} Execute")
|
51 |
-
output = gr.
|
52 |
# Link button to the response wrapper
|
53 |
button.click(
|
54 |
fn=lambda *args: stream_response(prompt_template, **dict(zip([inp["key"] for inp in inputs], args))),
|
|
|
48 |
)
|
49 |
# Button and output
|
50 |
button = gr.Button(f"{tab_name} Execute")
|
51 |
+
output = gr.Textbox(label="Output", placeholder="Generated response will appear here.", lines=10)
|
52 |
# Link button to the response wrapper
|
53 |
button.click(
|
54 |
fn=lambda *args: stream_response(prompt_template, **dict(zip([inp["key"] for inp in inputs], args))),
|