Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -68,23 +68,21 @@ with gr.Blocks() as demo:
|
|
68 |
with gr.Row():
|
69 |
chatbot = gr.Chatbot(
|
70 |
avatar_images=("π§", "π€"),
|
71 |
-
height=
|
72 |
)
|
73 |
|
74 |
# with gr.Box():
|
75 |
with gr.Row():
|
76 |
# Adding a Textbox with a placeholder "write prompt"
|
77 |
prompt = gr.Textbox(
|
78 |
-
placeholder="Enter text, or upload an image or audio", lines=2, label="Query", value=None
|
|
|
|
|
|
|
|
|
79 |
)
|
80 |
-
# Creating a column with a scale of 2
|
81 |
-
# with gr.Row():
|
82 |
-
# Adding image
|
83 |
-
image= gr.UploadButton("π", file_types=["image", "audio"])
|
84 |
audio_upload= image
|
85 |
-
|
86 |
-
# with gr.Row():
|
87 |
-
# Add audio
|
88 |
audio_mic = gr.Audio(
|
89 |
source="microphone", type="filepath", format="mp3"
|
90 |
)
|
|
|
68 |
with gr.Row():
|
69 |
chatbot = gr.Chatbot(
|
70 |
avatar_images=("π§", "π€"),
|
71 |
+
height=450,
|
72 |
)
|
73 |
|
74 |
# with gr.Box():
|
75 |
with gr.Row():
|
76 |
# Adding a Textbox with a placeholder "write prompt"
|
77 |
prompt = gr.Textbox(
|
78 |
+
placeholder="Enter text, or upload an image or audio", lines=2, label="Query", value=None, scale = 4
|
79 |
+
)
|
80 |
+
|
81 |
+
image= gr.UploadButton(
|
82 |
+
"π", file_types=["image", "audio"]
|
83 |
)
|
|
|
|
|
|
|
|
|
84 |
audio_upload= image
|
85 |
+
|
|
|
|
|
86 |
audio_mic = gr.Audio(
|
87 |
source="microphone", type="filepath", format="mp3"
|
88 |
)
|