rafaaa2105 commited on
Commit
7a2c267
1 Parent(s): 54accb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,12 +32,12 @@ def generate(prompt, model):
32
 
33
  with gr.Blocks() as demo:
34
  with gr.Row():
35
- with gr.Column:
36
  inp_prompt = gr.Textbox(label="Prompt")
37
  inp_model = gr.Dropdown(model_list, label="Select a model")
38
  btn = gr.Button("Run")
39
 
40
- with gr.Column:
41
  out = gr.Image()
42
 
43
  btn.click(fn=generate, inputs=[inp_prompt, inp_model], outputs=out)
 
32
 
33
  with gr.Blocks() as demo:
34
  with gr.Row():
35
+ with gr.Column():
36
  inp_prompt = gr.Textbox(label="Prompt")
37
  inp_model = gr.Dropdown(model_list, label="Select a model")
38
  btn = gr.Button("Run")
39
 
40
+ with gr.Column():
41
  out = gr.Image()
42
 
43
  btn.click(fn=generate, inputs=[inp_prompt, inp_model], outputs=out)