GunaKoppula commited on
Commit
410fca0
·
verified ·
1 Parent(s): 85a7f08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -9
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
- with gr.Row():
100
- # Adding image
101
- image = gr.Image(type="filepath", value=None)
102
- # Creating a column with a scale of 2
103
- with gr.Row():
104
- # Add audio
105
- # audio_upload = gr.Audio(source="upload", type="filepath")
106
- # audio_mic = gr.Audio(source="microphone", type="filepath", format="mp3")
107
- audio_upload = gr.Audio(label="Upload Audio", type="filepath", interactive=True)
 
 
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