Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
42fb594
1
Parent(s):
6ddb501
Update app.py
Browse files
app.py
CHANGED
@@ -44,8 +44,8 @@ def infer(seed, randomize_seed, width, height, guidance_scale, num_inference_ste
|
|
44 |
with torch.no_grad():
|
45 |
outputs = model.generate(inputs, generation_config=model.generation_config)
|
46 |
|
47 |
-
prompt=tokenizer.decode(outputs[0], skip_special_tokens=True).split("original,")[1]
|
48 |
-
negative_prompt="unaestheticXLv31"
|
49 |
|
50 |
if randomize_seed:
|
51 |
seed = random.randint(0, MAX_SEED)
|
@@ -75,7 +75,8 @@ with gr.Blocks(css=css) as demo:
|
|
75 |
|
76 |
with gr.Column(elem_id="col-container"):
|
77 |
gr.Markdown(f"""
|
78 |
-
# No copyright
|
|
|
79 |
""")
|
80 |
|
81 |
with gr.Row():
|
|
|
44 |
with torch.no_grad():
|
45 |
outputs = model.generate(inputs, generation_config=model.generation_config)
|
46 |
|
47 |
+
prompt=tokenizer.decode(outputs[0], skip_special_tokens=True).split("original, ")[1]
|
48 |
+
negative_prompt="unaestheticXLv31, 3d, photo, realism"
|
49 |
|
50 |
if randomize_seed:
|
51 |
seed = random.randint(0, MAX_SEED)
|
|
|
75 |
|
76 |
with gr.Column(elem_id="col-container"):
|
77 |
gr.Markdown(f"""
|
78 |
+
# Anime image with No copyright
|
79 |
+
Runボタンを押し、画像を生成してください。この画像がいくらきれいであろうと著作権は誰にもありません。この画像は時刻を入力とした自然現象によって作られたものです。美しいとは何でしょうか。
|
80 |
""")
|
81 |
|
82 |
with gr.Row():
|