Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,12 +93,12 @@ with gr.Blocks() as demo:
|
|
| 93 |
)
|
| 94 |
|
| 95 |
with gr.Row():
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
|
| 101 |
-
|
| 102 |
|
| 103 |
with gr.Row():
|
| 104 |
if upload_btn.files is not None and len(upload_btn.files) > 0:
|
|
|
|
| 93 |
)
|
| 94 |
|
| 95 |
with gr.Row():
|
| 96 |
+
# Adding a Textbox with a placeholder "write prompt"
|
| 97 |
+
prompt = gr.Textbox(
|
| 98 |
+
placeholder="Ask anything", lines=2, label="Query", value=None, scale=4
|
| 99 |
+
)
|
| 100 |
|
| 101 |
+
upload_btn = gr.UploadButton("📁", file_types=["image", "audio"])
|
| 102 |
|
| 103 |
with gr.Row():
|
| 104 |
if upload_btn.files is not None and len(upload_btn.files) > 0:
|