Spaces:
Runtime error
Runtime error
upd
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def get_sd(translated_txt):
|
|
17 |
print(f"translated_txt is : {translated_txt}")
|
18 |
sd_inf = gr.Blocks.load(name="spaces/stabilityai/stable-diffusion", use_auth_token=True)
|
19 |
print(f"stable Diff inf is : {sd_inf}")
|
20 |
-
tbox, sd_img_gallery = gr.Blocks.load(name="spaces/stabilityai/stable-diffusion")(translated_txt, '4', '45', '7.5', 1024, fn_index=1) #(prompt, samples, steps, scale, seed)
|
21 |
|
22 |
return sd_img_gallery[0]
|
23 |
|
|
|
17 |
print(f"translated_txt is : {translated_txt}")
|
18 |
sd_inf = gr.Blocks.load(name="spaces/stabilityai/stable-diffusion", use_auth_token=True)
|
19 |
print(f"stable Diff inf is : {sd_inf}")
|
20 |
+
tbox, sd_img_gallery = gr.Blocks.load(name="spaces/stabilityai/stable-diffusion", use_auth_token=True)(translated_txt, '4', '45', '7.5', 1024, fn_index=1) #(prompt, samples, steps, scale, seed)
|
21 |
|
22 |
return sd_img_gallery[0]
|
23 |
|