anzorq commited on
Commit
088c386
1 Parent(s): 9458c70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -16,12 +16,13 @@ def inference(prompt, guidance, steps):
16
 
17
  with gr.Blocks() as demo:
18
  with gr.Row():
19
- gr.Markdown(f"Running on: {device}")
20
  with gr.Column():
21
  prompt = gr.Textbox(label="prompt")
22
  guidance = gr.Slider(label="guidance scale", value=7.5, maximum=15)
23
  steps = gr.Slider(label="steps", value=50, maximum=100, minimum=2)
24
  run = gr.Button(value="Run")
 
25
  with gr.Column():
26
  gallery = gr.Gallery()
27
 
 
16
 
17
  with gr.Blocks() as demo:
18
  with gr.Row():
19
+
20
  with gr.Column():
21
  prompt = gr.Textbox(label="prompt")
22
  guidance = gr.Slider(label="guidance scale", value=7.5, maximum=15)
23
  steps = gr.Slider(label="steps", value=50, maximum=100, minimum=2)
24
  run = gr.Button(value="Run")
25
+ gr.Markdown(f"Running on: {device}")
26
  with gr.Column():
27
  gallery = gr.Gallery()
28