Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,7 +78,7 @@ with gr.Blocks() as demo:
|
|
| 78 |
"""
|
| 79 |
)
|
| 80 |
with gr.Row():
|
| 81 |
-
with gr.
|
| 82 |
# Creating a column with a scale of 6
|
| 83 |
with gr.Box():
|
| 84 |
with gr.Row():
|
|
@@ -89,16 +89,18 @@ with gr.Blocks() as demo:
|
|
| 89 |
# Creating a column with a scale of 2
|
| 90 |
with gr.Row():
|
| 91 |
# Adding image
|
| 92 |
-
image = gr.Image(type="filepath",
|
|
|
|
| 93 |
# Creating a column with a scale of 2
|
| 94 |
with gr.Row():
|
| 95 |
# Add audio
|
| 96 |
-
audio_upload = gr.Audio(
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
|
|
|
| 100 |
|
| 101 |
-
with gr.
|
| 102 |
with gr.Box():
|
| 103 |
with gr.Row():
|
| 104 |
chatbot = gr.Chatbot(
|
|
|
|
| 78 |
"""
|
| 79 |
)
|
| 80 |
with gr.Row():
|
| 81 |
+
with gr.Column(scale=4):
|
| 82 |
# Creating a column with a scale of 6
|
| 83 |
with gr.Box():
|
| 84 |
with gr.Row():
|
|
|
|
| 89 |
# Creating a column with a scale of 2
|
| 90 |
with gr.Row():
|
| 91 |
# Adding image
|
| 92 |
+
image = gr.Image(type="filepath", interactive=True)
|
| 93 |
+
# image = gr.Image(type="filepath", value=None)
|
| 94 |
# Creating a column with a scale of 2
|
| 95 |
with gr.Row():
|
| 96 |
# Add audio
|
| 97 |
+
audio_upload = gr.Audio(type="filepath", interactive=True)
|
| 98 |
+
# audio_upload = gr.Audio(source="upload", type="filepath")
|
| 99 |
+
# audio_mic = gr.Audio(
|
| 100 |
+
# source="microphone", type="filepath", format="mp3"
|
| 101 |
+
# )
|
| 102 |
|
| 103 |
+
with gr.Column(scale=8):
|
| 104 |
with gr.Box():
|
| 105 |
with gr.Row():
|
| 106 |
chatbot = gr.Chatbot(
|