Pranay Kanisetty
commited on
Commit
·
41cfbd1
1
Parent(s):
7a969fb
First
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance
|
|
| 26 |
generator = torch.Generator().manual_seed(seed)
|
| 27 |
|
| 28 |
image = pipe(
|
| 29 |
-
prompt = prompt,
|
| 30 |
negative_prompt = negative_prompt,
|
| 31 |
guidance_scale = guidance_scale,
|
| 32 |
num_inference_steps = num_inference_steps,
|
|
@@ -59,7 +59,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 59 |
|
| 60 |
with gr.Column(elem_id="col-container"):
|
| 61 |
gr.Markdown(f"""
|
| 62 |
-
#
|
| 63 |
Currently running on {power_device}.
|
| 64 |
""")
|
| 65 |
|
|
|
|
| 26 |
generator = torch.Generator().manual_seed(seed)
|
| 27 |
|
| 28 |
image = pipe(
|
| 29 |
+
prompt = "Pixel Art of " + prompt,
|
| 30 |
negative_prompt = negative_prompt,
|
| 31 |
guidance_scale = guidance_scale,
|
| 32 |
num_inference_steps = num_inference_steps,
|
|
|
|
| 59 |
|
| 60 |
with gr.Column(elem_id="col-container"):
|
| 61 |
gr.Markdown(f"""
|
| 62 |
+
# Pixel Art Anyone?
|
| 63 |
Currently running on {power_device}.
|
| 64 |
""")
|
| 65 |
|