carlosrosash commited on
Commit
d675294
1 Parent(s): 4e544f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -8
app.py CHANGED
@@ -202,14 +202,12 @@ with gr.Blocks(theme = 'carlosrosash/bellay_test') as demo:
202
  gr.Markdown(title)
203
  gr.Markdown(description)
204
 
205
- # Define the columns for dropdown, explanation, and image
206
- with gr.Row():
207
- with gr.Column():
208
- dropdown = gr.Dropdown(list_dropdown, label="Choose an Artist or Style")
209
- explanation_box = gr.Textbox(label="Explanation", type="text", lines=5, interactive=False)
210
- dropdown.change(update_explanation, inputs=dropdown, outputs=[explanation_box, explanation_image])
211
- with gr.Column(scale=2):
212
- explanation_image = gr.HTML(label="Image")
213
 
214
  # Define the columns for input and output
215
  with gr.Row():
 
202
  gr.Markdown(title)
203
  gr.Markdown(description)
204
 
205
+ # Define the column for dropdown, explanation, and image
206
+ with gr.Column():
207
+ dropdown = gr.Dropdown(list_dropdown, label="Choose an Artist or Style")
208
+ explanation_box = gr.Textbox(label="Explanation", type="text", lines=5, interactive=False)
209
+ explanation_image = gr.HTML(label="Image")
210
+ dropdown.change(update_explanation, inputs=dropdown, outputs=[explanation_box, explanation_image])
 
 
211
 
212
  # Define the columns for input and output
213
  with gr.Row():