Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,12 +16,13 @@ def inference(prompt, guidance, steps):
|
|
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 |
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 |
|