Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,6 +81,10 @@ with gr.Blocks(title="LeCarnet - Chat Interface") as demo:
|
|
| 81 |
</div>
|
| 82 |
""" )
|
| 83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
with gr.Row():
|
| 85 |
with gr.Column(scale=1, min_width=150):
|
| 86 |
model_selector = gr.Dropdown(
|
|
@@ -108,10 +112,6 @@ with gr.Blocks(title="LeCarnet - Chat Interface") as demo:
|
|
| 108 |
bubble_full_width=False,
|
| 109 |
height=500
|
| 110 |
)
|
| 111 |
-
msg_input = gr.Textbox(
|
| 112 |
-
placeholder="Il était une fois un petit garçon",
|
| 113 |
-
label="User Input"
|
| 114 |
-
)
|
| 115 |
|
| 116 |
model_selector.change(fn=update_model, inputs=[model_selector], outputs=[])
|
| 117 |
msg_input.submit(fn=user, inputs=[msg_input, chatbot], outputs=[msg_input, chatbot], queue=False).then(
|
|
|
|
| 81 |
</div>
|
| 82 |
""" )
|
| 83 |
|
| 84 |
+
msg_input = gr.Textbox(
|
| 85 |
+
placeholder="Il était une fois un petit garçon",
|
| 86 |
+
label="User Input"
|
| 87 |
+
)
|
| 88 |
with gr.Row():
|
| 89 |
with gr.Column(scale=1, min_width=150):
|
| 90 |
model_selector = gr.Dropdown(
|
|
|
|
| 112 |
bubble_full_width=False,
|
| 113 |
height=500
|
| 114 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
|
| 116 |
model_selector.change(fn=update_model, inputs=[model_selector], outputs=[])
|
| 117 |
msg_input.submit(fn=user, inputs=[msg_input, chatbot], outputs=[msg_input, chatbot], queue=False).then(
|