jonathanjordan21 commited on
Commit
83198b1
·
verified ·
1 Parent(s): 3f0b524

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -404,7 +404,15 @@ with gr.Blocks() as demo:
404
  gr.Number(0.5, label="confidence threshold", show_label=True, minimum=0., maximum=1.0, step=0.1),
405
  gr.Checkbox(label="multiple", info="Allow multiple request code numbers"),
406
 
407
- ]
 
 
 
 
 
 
 
 
408
  )
409
 
410
  if __name__ == "__main__":
 
404
  gr.Number(0.5, label="confidence threshold", show_label=True, minimum=0., maximum=1.0, step=0.1),
405
  gr.Checkbox(label="multiple", info="Allow multiple request code numbers"),
406
 
407
+ ],
408
+ type="messages",
409
+ chatbot=gr.Chatbot(height=800),
410
+ # textbox=gr.Textbox(placeholder="Ask me a yes or no question", container=False, scale=7),
411
+ title="SamSat Virtual Assistant",
412
+ # description="Ask Yes Man any question",
413
+ # theme="soft",
414
+ examples=[{"text": "balik nama D 3456 DEF"}, {"text": "bayar pajak B 1234 BCA"}, {"text": "halo, selamat pagi!"}],
415
+ cache_examples=True,
416
  )
417
 
418
  if __name__ == "__main__":