dammy commited on
Commit
2c74bb5
·
1 Parent(s): e78391a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def generate_text(text):
8
  # Define the Gradio interface.
9
  chat_box = gr.Textbox(label="Chat Box")
10
  chat_button = gr.Button("Send")
11
- chat_response = gr.outputs.Textbox(label="Chat Response")
12
 
13
 
14
  chat_button.click(generate_text, chat_box, chat_response)
 
8
  # Define the Gradio interface.
9
  chat_box = gr.Textbox(label="Chat Box")
10
  chat_button = gr.Button("Send")
11
+ chat_response = gr.Textbox(label="Chat Response")
12
 
13
 
14
  chat_button.click(generate_text, chat_box, chat_response)