Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def imp():
|
|
17 |
def get_images(prompt):
|
18 |
gallery_dir = stable_diffusion(prompt, fn_index=2)
|
19 |
sd_output = [os.path.join(gallery_dir, image) for image in os.listdir(gallery_dir)]
|
20 |
-
|
21 |
return sd_output, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
22 |
|
23 |
def get_prompts(prompt_text):
|
|
|
17 |
def get_images(prompt):
|
18 |
gallery_dir = stable_diffusion(prompt, fn_index=2)
|
19 |
sd_output = [os.path.join(gallery_dir, image) for image in os.listdir(gallery_dir)]
|
20 |
+
imp()
|
21 |
return sd_output, gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
|
22 |
|
23 |
def get_prompts(prompt_text):
|