ZOOLIK commited on
Commit
baa0eec
·
verified ·
1 Parent(s): 0411f55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -40,7 +40,7 @@ with gr.Blocks(theme="soft", title="COLIN") as iface:
40
  label="Select Language"
41
  )
42
 
43
- chatbot = gr.Chatbot(label="Chat")
44
  textbox = gr.Textbox(placeholder="Enter your message here...")
45
 
46
  with gr.Row():
@@ -61,4 +61,7 @@ with gr.Blocks(theme="soft", title="COLIN") as iface:
61
  fn=lambda: [],
62
  inputs=[],
63
  outputs=[chatbot]
64
- )
 
 
 
 
40
  label="Select Language"
41
  )
42
 
43
+ chatbot = gr.Chatbot(label="Chat", type="messages") # Изменено здесь
44
  textbox = gr.Textbox(placeholder="Enter your message here...")
45
 
46
  with gr.Row():
 
61
  fn=lambda: [],
62
  inputs=[],
63
  outputs=[chatbot]
64
+ )
65
+
66
+ # ЭТА СТРОКА ЗАСТАВИТ ПРИЛОЖЕНИЕ РАБОТАТЬ
67
+ iface.launch()