Spaces:
Sleeping
Sleeping
Commit ·
f036f33
1
Parent(s): d2704e9
Update app.py
Browse files
app.py
CHANGED
|
@@ -135,7 +135,7 @@ additional_inputs=[
|
|
| 135 |
|
| 136 |
chatbot = gr.Chatbot(avatar_images=('user.png', 'bot2.png'),bubble_full_width = False)
|
| 137 |
|
| 138 |
-
gr.Dropdown(["api_url_7b", "api_url_13b", "api_url_70b"], label="Model", info="Which model to use?")
|
| 139 |
|
| 140 |
chat_interface = gr.ChatInterface(predict,
|
| 141 |
title=title,
|
|
@@ -146,6 +146,7 @@ chat_interface = gr.ChatInterface(predict,
|
|
| 146 |
|
| 147 |
# Gradio Demo
|
| 148 |
with gr.Blocks() as demo:
|
|
|
|
| 149 |
chat_interface.render()
|
| 150 |
|
| 151 |
demo.launch(debug=True)
|
|
|
|
| 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 = gr.ChatInterface(predict,
|
| 141 |
title=title,
|
|
|
|
| 146 |
|
| 147 |
# Gradio Demo
|
| 148 |
with gr.Blocks() as demo:
|
| 149 |
+
model.render()
|
| 150 |
chat_interface.render()
|
| 151 |
|
| 152 |
demo.launch(debug=True)
|