Spaces:
Sleeping
Sleeping
Thomas Simonini
commited on
Commit
•
aadd9ad
1
Parent(s):
4a2fd02
Update
Browse files
app.py
CHANGED
@@ -89,8 +89,10 @@ def predict(message,
|
|
89 |
continue
|
90 |
|
91 |
|
|
|
|
|
92 |
additional_inputs=[
|
93 |
-
|
94 |
gr.Textbox("", label="Optional system prompt"),
|
95 |
gr.Slider(
|
96 |
label="Temperature",
|
@@ -133,6 +135,8 @@ additional_inputs=[
|
|
133 |
|
134 |
chatbot = gr.Chatbot(avatar_images=('user.png', 'bot2.png'),bubble_full_width = False)
|
135 |
|
|
|
|
|
136 |
chat_interface_stream = gr.ChatInterface(predict,
|
137 |
title=title,
|
138 |
description=description,
|
|
|
89 |
continue
|
90 |
|
91 |
|
92 |
+
|
93 |
+
|
94 |
additional_inputs=[
|
95 |
+
|
96 |
gr.Textbox("", label="Optional system prompt"),
|
97 |
gr.Slider(
|
98 |
label="Temperature",
|
|
|
135 |
|
136 |
chatbot = gr.Chatbot(avatar_images=('user.png', 'bot2.png'),bubble_full_width = False)
|
137 |
|
138 |
+
model = gr.Dropdown(["api_url_7b", "api_url_13b", "api_url_70b"], label="Model", info="Which model to use?")
|
139 |
+
|
140 |
chat_interface_stream = gr.ChatInterface(predict,
|
141 |
title=title,
|
142 |
description=description,
|