ritikaaA commited on
Commit
f91927e
·
verified ·
1 Parent(s): f1455e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,7 +1,11 @@
1
  import gradio as gr
2
  # import lines go at the top! Any libraries I need to import go up ^
3
 
4
- chatbot = gr.ChatInterface()
 
 
 
 
5
  # declaring chatbot so that user can interact and see their conversation history and send new messages
6
 
7
  chatbot.launch()
 
1
  import gradio as gr
2
  # import lines go at the top! Any libraries I need to import go up ^
3
 
4
+ #always need two parameters in hf
5
+ def echo(message, history)
6
+ return message
7
+
8
+ chatbot = gr.ChatInterface(echo)
9
  # declaring chatbot so that user can interact and see their conversation history and send new messages
10
 
11
  chatbot.launch()