Migu3low commited on
Commit
b25d4b1
·
verified ·
1 Parent(s): 84bf13e

Update Chatbot with add gr.ChatInterface

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -56,6 +56,8 @@ demo = gr.ChatInterface(
56
  label="Top-p (nucleus sampling)",
57
  ),
58
  ],
 
 
59
  respond,
60
  additional_inputs=[
61
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
@@ -71,5 +73,6 @@ demo = gr.ChatInterface(
71
  ],
72
  )
73
 
 
74
  if __name__ == "__main__":
75
  demo.launch()
 
56
  label="Top-p (nucleus sampling)",
57
  ),
58
  ],
59
+ ),
60
+ gr.ChatInterface(
61
  respond,
62
  additional_inputs=[
63
  gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
 
73
  ],
74
  )
75
 
76
+
77
  if __name__ == "__main__":
78
  demo.launch()