Hongyin Luo commited on
Commit
efb9434
·
1 Parent(s): db1c120

add application file

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -19,5 +19,14 @@ def chat(message, history):
19
 
20
  return response['response']
21
 
22
- gradio_io = gr.ChatInterface(chat)
 
 
 
 
 
 
 
 
 
23
  gradio_io.launch()
 
19
 
20
  return response['response']
21
 
22
+ gradio_io = gr.ChatInterface(
23
+ chat, title = "Ask questions about CSAIL research(er)!",
24
+ example = [
25
+ "Who works on speech recognition?",
26
+ "Who should I talk with about molecule generation?",
27
+ "How are NLP and Robotics researchers collaborating?"
28
+ ],
29
+ autofocus = False,
30
+ fill_hight = True
31
+ )
32
  gradio_io.launch()