TheBlueberry-AI commited on
Commit
545b577
1 Parent(s): 5d30ce0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -47,15 +47,17 @@ additional_inputs=[
47
  maximum=1.0,
48
  step=0.05,
49
  interactive=True,
50
- info="Higher values produce more diverse outputs",
51
  )
52
  ]
53
 
54
- with gr.Blocks() as demo:
55
- gr.HTML("<h1><center>Chat with Mistral 7B v0.2<h1><center>")
56
- gr.ChatInterface(
57
- generate,
58
- additional_inputs=additional_inputs
59
- )
 
 
60
 
61
  demo.queue().launch()
 
47
  maximum=1.0,
48
  step=0.05,
49
  interactive=True,
50
+ info="Higher values generate more diverse outputs",
51
  )
52
  ]
53
 
54
+ bbchatbot = gr.Chatbot(
55
+ avatar_images=["./user.png", "./bot.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,)
56
+
57
+ demo = gr.ChatInterface(fn=generate,
58
+ chatbot=bbchatbot,
59
+ title="🫐TheBlueberry-AI's Chat with Mistral 7B v0.2🪄",
60
+ additional_inputs=additional_inputs
61
+ )
62
 
63
  demo.queue().launch()