Omnibus commited on
Commit
c131d54
·
1 Parent(s): a352172

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,8 +47,8 @@ def chat_fn(prompt):
47
  return completion
48
 
49
  with gr.Blocks() as app:
50
- inp = gr.Textbox()
51
- outp = gr.Textbox()
52
  btn = gr.Button()
53
 
54
  btn.click(chat_fn,inp,outp)
 
47
  return completion
48
 
49
  with gr.Blocks() as app:
50
+ inp = gr.Textbox(label = "Input Prompt")
51
+ outp = gr.Textbox(label = "Response", lines =6)
52
  btn = gr.Button()
53
 
54
  btn.click(chat_fn,inp,outp)