yasserrmd commited on
Commit
0351e82
โ€ข
1 Parent(s): 037a9a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -27,12 +27,12 @@ def chat(input_text, history=[]):
27
  iface = gr.Interface(
28
  fn=chat,
29
  inputs=[
30
- gr.inputs.Textbox(label="ุฃุฏุฎู„ ุฑุณุงู„ุชูƒ ู‡ู†ุง"),
31
- "state"
32
  ],
33
  outputs=[
34
- gr.outputs.Chatbot(label="ุงู„ู…ุญุงุฏุซุฉ"),
35
- "state"
36
  ],
37
  live=True,
38
  title="ุฏุฑุฏุดุฉ ุฃุทู„ุณ",
 
27
  iface = gr.Interface(
28
  fn=chat,
29
  inputs=[
30
+ gr.Textbox(label="ุฃุฏุฎู„ ุฑุณุงู„ุชูƒ ู‡ู†ุง"),
31
+ gr.State()
32
  ],
33
  outputs=[
34
+ gr.Chatbot(label="ุงู„ู…ุญุงุฏุซุฉ"),
35
+ gr.State()
36
  ],
37
  live=True,
38
  title="ุฏุฑุฏุดุฉ ุฃุทู„ุณ",