Spaces:
Runtime error
Runtime error
bharat-raghunathan
commited on
Commit
•
6df4440
1
Parent(s):
2ec6865
Remove example caching and concurrency
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ with gr.Blocks() as demo:
|
|
39 |
run.click(fn=generate_images, inputs=[prompt, negative_prompt, samples, num_steps, guidance_scale], outputs=gallery)
|
40 |
|
41 |
gr.Examples([["realistic picture of a bhr dosa in a restaurant", "sambar", 1, 50, 7.5]],
|
42 |
-
[prompt, negative_prompt, samples, num_steps, guidance_scale], gallery, generate_images
|
43 |
gr.Markdown('Demo created by [Bharat Raghunathan](https://huggingface.co/bharat-raghunathan/)')
|
44 |
# pass function, input type for prompt, the output for multiple images
|
45 |
-
demo.queue(
|
|
|
39 |
run.click(fn=generate_images, inputs=[prompt, negative_prompt, samples, num_steps, guidance_scale], outputs=gallery)
|
40 |
|
41 |
gr.Examples([["realistic picture of a bhr dosa in a restaurant", "sambar", 1, 50, 7.5]],
|
42 |
+
[prompt, negative_prompt, samples, num_steps, guidance_scale], gallery, generate_images)
|
43 |
gr.Markdown('Demo created by [Bharat Raghunathan](https://huggingface.co/bharat-raghunathan/)')
|
44 |
# pass function, input type for prompt, the output for multiple images
|
45 |
+
demo.queue().launch()
|