Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ import torch
|
|
6 |
|
7 |
model_id = "None1145/noobai-XL-Vpred-0.65s-openvino"
|
8 |
|
9 |
-
prev_height =
|
10 |
-
prev_width =
|
11 |
|
12 |
MAX_SEED = np.iinfo(np.int32).max
|
13 |
MAX_IMAGE_SIZE = 2048
|
@@ -112,7 +112,7 @@ with gr.Blocks() as img:
|
|
112 |
minimum=512,
|
113 |
maximum=MAX_IMAGE_SIZE,
|
114 |
step=32,
|
115 |
-
value=
|
116 |
)
|
117 |
|
118 |
height = gr.Slider(
|
@@ -120,7 +120,7 @@ with gr.Blocks() as img:
|
|
120 |
minimum=512,
|
121 |
maximum=MAX_IMAGE_SIZE,
|
122 |
step=32,
|
123 |
-
value=
|
124 |
)
|
125 |
|
126 |
with gr.Row():
|
|
|
6 |
|
7 |
model_id = "None1145/noobai-XL-Vpred-0.65s-openvino"
|
8 |
|
9 |
+
prev_height = 1216
|
10 |
+
prev_width = 832
|
11 |
|
12 |
MAX_SEED = np.iinfo(np.int32).max
|
13 |
MAX_IMAGE_SIZE = 2048
|
|
|
112 |
minimum=512,
|
113 |
maximum=MAX_IMAGE_SIZE,
|
114 |
step=32,
|
115 |
+
value=832,
|
116 |
)
|
117 |
|
118 |
height = gr.Slider(
|
|
|
120 |
minimum=512,
|
121 |
maximum=MAX_IMAGE_SIZE,
|
122 |
step=32,
|
123 |
+
value=1216,
|
124 |
)
|
125 |
|
126 |
with gr.Row():
|