patti-j commited on
Commit
5883c21
1 Parent(s): 55d53e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -39,7 +39,7 @@ with block:
39
  )
40
 
41
  with gr.Row():
42
- submit = gr.Button(color="lightblue", value="Send", variant="secondary").style(full_width=False)
43
 
44
  gr.Examples(
45
  examples=[
@@ -48,11 +48,8 @@ with block:
48
  "I am looking for some resources",
49
  ],
50
  inputs=message,
51
- )
52
 
53
- fn = get_response(message)
54
-
55
 
56
- # submit.click(chat, inputs=[message], outputs=[chatbot])
57
-
58
  block.launch(debug=True)
 
39
  )
40
 
41
  with gr.Row():
42
+ submit = gr.Button(value="Send", variant="secondary").style(full_width=False)
43
 
44
  gr.Examples(
45
  examples=[
 
48
  "I am looking for some resources",
49
  ],
50
  inputs=message,
51
+ )
52
 
53
+ submit.on_click(get_response, inputs=[message], outputs=[chatbot])
 
54
 
 
 
55
  block.launch(debug=True)