msy127 commited on
Commit
8aa4944
·
1 Parent(s): 9f06e6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -9
app.py CHANGED
@@ -1,15 +1,8 @@
1
  import gradio as gr
2
 
3
  chatbot_stream = gr.Chatbot(avatar_images=('user.png', 'bot2.png'), bubble_full_width = False)
4
- chat_interface_stream = gr.ChatInterface(predict,
5
- title=title,
6
- description=description,
7
- chatbot=chatbot_stream,
8
- css=css,
9
- examples=examples,
10
- # cache_examples=True,
11
- cache_examples=False,
12
- additional_inputs=additional_inputs,)
13
 
14
  with gr.Blocks() as demo:
15
  with gr.Tab("llama2 official chatbot"):
 
1
  import gradio as gr
2
 
3
  chatbot_stream = gr.Chatbot(avatar_images=('user.png', 'bot2.png'), bubble_full_width = False)
4
+ chat_interface_stream = gr.ChatInterface(
5
+ chatbot=chatbot_stream)
 
 
 
 
 
 
 
6
 
7
  with gr.Blocks() as demo:
8
  with gr.Tab("llama2 official chatbot"):