Commit
•
b9f80c9
1
Parent(s):
ddca435
Update app.py
Browse files
app.py
CHANGED
@@ -46,10 +46,10 @@ character = st.text_input("character")
|
|
46 |
anime_from = st.text_input("From")
|
47 |
seed = st.number_input('seed')
|
48 |
if st.button("Generate!"):
|
|
|
49 |
n = 0
|
50 |
for p in prompt_list:
|
51 |
prompt_new = "1girl, "+character+", "+anime_from+", "+prompt_prefix+p+prompt_suffix
|
52 |
-
client = Client("cagliostrolab/animagine-xl-3.1")
|
53 |
result = client.predict(
|
54 |
prompt_new, # str in 'Prompt' Textbox component
|
55 |
"nsfw, lowres, (bad), text, error, fewer, extra, missing, worst quality, jpeg artifacts, low quality, watermark, unfinished, displeasing, oldest, early, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract]", # str in 'Negative Prompt' Textbox component
|
|
|
46 |
anime_from = st.text_input("From")
|
47 |
seed = st.number_input('seed')
|
48 |
if st.button("Generate!"):
|
49 |
+
client = Client("cagliostrolab/animagine-xl-3.1")
|
50 |
n = 0
|
51 |
for p in prompt_list:
|
52 |
prompt_new = "1girl, "+character+", "+anime_from+", "+prompt_prefix+p+prompt_suffix
|
|
|
53 |
result = client.predict(
|
54 |
prompt_new, # str in 'Prompt' Textbox component
|
55 |
"nsfw, lowres, (bad), text, error, fewer, extra, missing, worst quality, jpeg artifacts, low quality, watermark, unfinished, displeasing, oldest, early, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract]", # str in 'Negative Prompt' Textbox component
|