GunaKoppula commited on
Commit
27eee09
·
verified ·
1 Parent(s): e459563

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -22
app.py CHANGED
@@ -86,29 +86,29 @@ with gr.Blocks(theme='upsatwal/mlsc_tiet') as demo:
86
  # Creating a column with a scale of 6
87
  with gr.Box():
88
 
89
- with gr.Column():
90
 
91
- with gr.Row():
92
- # Adding a Textbox with a placeholder "write prompt"
93
- prompt = gr.Textbox(
94
- placeholder="Enter Prompt", lines=2, label="Query", value=None
95
- )
96
- # Creating a column with a scale of 2
97
-
98
- with gr.Row():
99
- # Adding image
100
- image = gr.Image(type="filepath", value=None)
101
- # Creating a column with a scale of 2
102
- with gr.Row():
103
- # Add audio
104
- audio_upload = gr.Audio(source="upload", type="filepath")
105
- audio_mic = gr.Microphone(source="microphone", type="filepath", format="mp3")
106
-
107
- # Adding a Button
108
- with gr.Row():
109
- submit = gr.Button()
110
- with gr.Row():
111
- clear = gr.Button(value="Clear")
112
 
113
  submit.click(
114
  add_content,
 
86
  # Creating a column with a scale of 6
87
  with gr.Box():
88
 
89
+ # with gr.Column():
90
 
91
+ with gr.Row():
92
+ # Adding a Textbox with a placeholder "write prompt"
93
+ prompt = gr.Textbox(
94
+ placeholder="Enter Prompt", lines=2, label="Query", value=None
95
+ )
96
+ # Creating a column with a scale of 2
97
+
98
+ with gr.Row():
99
+ # Adding image
100
+ image = gr.Image(type="filepath", value=None)
101
+ # Creating a column with a scale of 2
102
+ with gr.Row():
103
+ # Add audio
104
+ audio_upload = gr.Audio(source="upload", type="filepath")
105
+ audio_mic = gr.Microphone(source="microphone", type="filepath", format="mp3")
106
+
107
+ # Adding a Button
108
+ with gr.Row():
109
+ submit = gr.Button()
110
+ with gr.Row():
111
+ clear = gr.Button(value="Clear")
112
 
113
  submit.click(
114
  add_content,