Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|