yasserrmd commited on
Commit
4a21594
·
verified ·
1 Parent(s): 67db2b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Markdown(label="Output")
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))),