Commit ·
3e5dfaa
1
Parent(s): 1ab8ed2
new update fix
Browse files
app.py
CHANGED
|
@@ -803,8 +803,8 @@ def _minecraftify_image(
|
|
| 803 |
num_inference_steps=int(steps),
|
| 804 |
guidance_scale=float(guidance_scale),
|
| 805 |
generator=generator,
|
| 806 |
-
height=
|
| 807 |
-
width=
|
| 808 |
)
|
| 809 |
|
| 810 |
log_event("Inference complete")
|
|
@@ -975,7 +975,19 @@ with gr.Blocks(**BLOCKS_KWARGS) as demo:
|
|
| 975 |
elem_classes="image-upload mc-upload-area",
|
| 976 |
height=400,
|
| 977 |
)
|
| 978 |
-
gr.HTML(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 979 |
|
| 980 |
extra_details = gr.Textbox(
|
| 981 |
label="🗒️ Extra scene details (optional)",
|
|
|
|
| 803 |
num_inference_steps=int(steps),
|
| 804 |
guidance_scale=float(guidance_scale),
|
| 805 |
generator=generator,
|
| 806 |
+
height=512,
|
| 807 |
+
width=896
|
| 808 |
)
|
| 809 |
|
| 810 |
log_event("Inference complete")
|
|
|
|
| 975 |
elem_classes="image-upload mc-upload-area",
|
| 976 |
height=400,
|
| 977 |
)
|
| 978 |
+
gr.HTML(
|
| 979 |
+
'''
|
| 980 |
+
<div style="
|
| 981 |
+
color: var(--mc-gold);
|
| 982 |
+
font-family: VT323;
|
| 983 |
+
font-size: 28px;
|
| 984 |
+
text-align: center;
|
| 985 |
+
margin-top: 10px;
|
| 986 |
+
">
|
| 987 |
+
▶ Click Record to start MINECRAFTIFICATION OF LIVE FRAMES
|
| 988 |
+
</div>
|
| 989 |
+
'''
|
| 990 |
+
)
|
| 991 |
|
| 992 |
extra_details = gr.Textbox(
|
| 993 |
label="🗒️ Extra scene details (optional)",
|