Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -96,15 +96,17 @@ with gr.Blocks() as demo:
|
|
| 96 |
placeholder="Enter Prompt", lines=2, label="Query", value=None
|
| 97 |
)
|
| 98 |
# Creating a column with a scale of 2
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
#
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
|
|
|
|
|
|
| 108 |
|
| 109 |
with gr.Row():
|
| 110 |
# Adding a Button
|
|
|
|
| 96 |
placeholder="Enter Prompt", lines=2, label="Query", value=None
|
| 97 |
)
|
| 98 |
# Creating a column with a scale of 2
|
| 99 |
+
|
| 100 |
+
with gr.Column():
|
| 101 |
+
with gr.Row():
|
| 102 |
+
# Adding image
|
| 103 |
+
image = gr.Image(type="filepath", value=None)
|
| 104 |
+
# Creating a column with a scale of 2
|
| 105 |
+
with gr.Row():
|
| 106 |
+
# Add audio
|
| 107 |
+
# audio_upload = gr.Audio(source="upload", type="filepath")
|
| 108 |
+
# audio_mic = gr.Audio(source="microphone", type="filepath", format="mp3")
|
| 109 |
+
audio_upload = gr.Audio(label="Upload Audio", type="filepath", interactive=True)
|
| 110 |
|
| 111 |
with gr.Row():
|
| 112 |
# Adding a Button
|