Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import openvino.runtime as ov
|
|
9 |
from typing import Optional, Dict
|
10 |
|
11 |
model_id = "Disty0/LCM_SoteMix"
|
12 |
-
HIGH=
|
13 |
WIDTH=512
|
14 |
|
15 |
|
@@ -37,7 +37,7 @@ def infer(prompt,negative_prompt,step):
|
|
37 |
image = pipe(
|
38 |
prompt = prompt,
|
39 |
negative_prompt = negative_prompt,
|
40 |
-
width =
|
41 |
height = WIDTH,
|
42 |
guidance_scale=1.0,
|
43 |
num_inference_steps=8,
|
@@ -67,7 +67,7 @@ with gr.Blocks(css=css) as demo:
|
|
67 |
|
68 |
with gr.Column(elem_id="col-container"):
|
69 |
gr.Markdown(f"""
|
70 |
-
# Disty0/LCM_SoteMix
|
71 |
Currently running on {power_device}.
|
72 |
""")
|
73 |
|
|
|
9 |
from typing import Optional, Dict
|
10 |
|
11 |
model_id = "Disty0/LCM_SoteMix"
|
12 |
+
HIGH=512
|
13 |
WIDTH=512
|
14 |
|
15 |
|
|
|
37 |
image = pipe(
|
38 |
prompt = prompt,
|
39 |
negative_prompt = negative_prompt,
|
40 |
+
width = HIGH,
|
41 |
height = WIDTH,
|
42 |
guidance_scale=1.0,
|
43 |
num_inference_steps=8,
|
|
|
67 |
|
68 |
with gr.Column(elem_id="col-container"):
|
69 |
gr.Markdown(f"""
|
70 |
+
# Disty0/LCM_SoteMix {HIGH}x{WIDTH}
|
71 |
Currently running on {power_device}.
|
72 |
""")
|
73 |
|