Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,6 @@ stable_diffusion = gr.Blocks.load(name="spaces/runwayml/stable-diffusion-v1-5")
|
|
10 |
def get_images(prompt):
|
11 |
gallery_dir = stable_diffusion(prompt, fn_index=2)
|
12 |
sd_output = [os.path.join(gallery_dir, image) for image in os.listdir(gallery_dir)]
|
13 |
-
messagebox.showinfo("Title")
|
14 |
return sd_output, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
15 |
|
16 |
def get_prompts(prompt_text):
|
|
|
10 |
def get_images(prompt):
|
11 |
gallery_dir = stable_diffusion(prompt, fn_index=2)
|
12 |
sd_output = [os.path.join(gallery_dir, image) for image in os.listdir(gallery_dir)]
|
|
|
13 |
return sd_output, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
14 |
|
15 |
def get_prompts(prompt_text):
|