Update app.py
Browse files
app.py
CHANGED
|
@@ -316,19 +316,18 @@ def create_chatbot():
|
|
| 316 |
msg = gr.Textbox(
|
| 317 |
show_label=False,
|
| 318 |
placeholder="Ask anything",
|
| 319 |
-
lines=1
|
| 320 |
-
scale=15
|
| 321 |
)
|
| 322 |
with gr.Column(scale=1, min_width=5):
|
| 323 |
-
send_btn = gr.Button("👾"
|
| 324 |
with gr.Row():
|
| 325 |
audio_input = gr.Audio(sources=["microphone"], type="filepath", visible=False)
|
| 326 |
-
audio_btn = gr.Button("🎤"
|
| 327 |
file_input = gr.File(label="", file_types=[".txt", ".png", ".jpg", ".jpeg", ".pdf"], visible=False)
|
| 328 |
-
file_btn = gr.Button("📁"
|
| 329 |
|
| 330 |
with gr.Row():
|
| 331 |
-
export_button = gr.Button("Export Chat"
|
| 332 |
download_output = gr.File(label="Download Chat History", visible=False)
|
| 333 |
|
| 334 |
with gr.Row():
|
|
|
|
| 316 |
msg = gr.Textbox(
|
| 317 |
show_label=False,
|
| 318 |
placeholder="Ask anything",
|
| 319 |
+
lines=1
|
|
|
|
| 320 |
)
|
| 321 |
with gr.Column(scale=1, min_width=5):
|
| 322 |
+
send_btn = gr.Button("👾")
|
| 323 |
with gr.Row():
|
| 324 |
audio_input = gr.Audio(sources=["microphone"], type="filepath", visible=False)
|
| 325 |
+
audio_btn = gr.Button("🎤")
|
| 326 |
file_input = gr.File(label="", file_types=[".txt", ".png", ".jpg", ".jpeg", ".pdf"], visible=False)
|
| 327 |
+
file_btn = gr.Button("📁")
|
| 328 |
|
| 329 |
with gr.Row():
|
| 330 |
+
export_button = gr.Button("Export Chat")
|
| 331 |
download_output = gr.File(label="Download Chat History", visible=False)
|
| 332 |
|
| 333 |
with gr.Row():
|