dennyaw commited on
Commit
69cbc90
1 Parent(s): 4a9ca9a
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,7 +53,7 @@ with gr.Blocks() as demo:
53
  submit = gr.Button("Submit")
54
  clear = gr.Button("Clear")
55
 
56
- examples = gr.Examples(examples=["Hi Doctor"],inputs=[msg])
57
 
58
  #submit.click(bot,[msg,chatbot,temperature, max_length, top_p,top_k],chatbot)
59
  submit.click(user, [msg, chatbot], [msg, chatbot], queue=False).then(
@@ -61,4 +61,4 @@ with gr.Blocks() as demo:
61
  )
62
  clear.click(lambda: None, None, chatbot, queue=False)
63
 
64
- demo.launch()
 
53
  submit = gr.Button("Submit")
54
  clear = gr.Button("Clear")
55
 
56
+ examples = gr.Examples(examples=["Dokter aku sakit flu dan pilek. Apa yang terjadi denganku?"],inputs=[msg])
57
 
58
  #submit.click(bot,[msg,chatbot,temperature, max_length, top_p,top_k],chatbot)
59
  submit.click(user, [msg, chatbot], [msg, chatbot], queue=False).then(
 
61
  )
62
  clear.click(lambda: None, None, chatbot, queue=False)
63
 
64
+ demo.queue().launch()