Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from PIL import Image
|
|
5 |
import requests
|
6 |
|
7 |
from gradio_client import Client
|
|
|
8 |
prompt_prefix = "night, full body, closed mouth, happy face, walking front, "
|
9 |
prompt_list = [
|
10 |
"loli, onepiece dress, white dress, sleeveless",
|
@@ -71,7 +72,7 @@ if st.button("Generate!"):
|
|
71 |
frame = Image.open(requests.get(source, stream=True).raw)
|
72 |
frame.save("./output/"+str(n)+".png")
|
73 |
n += 1
|
74 |
-
print(
|
75 |
|
76 |
output_num = len(os.listdir("./output/"))
|
77 |
if output_num > 0:
|
|
|
5 |
import requests
|
6 |
|
7 |
from gradio_client import Client
|
8 |
+
|
9 |
prompt_prefix = "night, full body, closed mouth, happy face, walking front, "
|
10 |
prompt_list = [
|
11 |
"loli, onepiece dress, white dress, sleeveless",
|
|
|
72 |
frame = Image.open(requests.get(source, stream=True).raw)
|
73 |
frame.save("./output/"+str(n)+".png")
|
74 |
n += 1
|
75 |
+
print(source)
|
76 |
|
77 |
output_num = len(os.listdir("./output/"))
|
78 |
if output_num > 0:
|