AnimeOverlord commited on
Commit
3e5dfaa
·
1 Parent(s): 1ab8ed2

new update fix

Browse files
Files changed (1) hide show
  1. app.py +15 -3
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=360,
807
- width=640
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('<div style="color: var(--mc-gold); font-family: VT323; text-align: center; margin-top: 10px;">▶ Click Record to start MINECRAFTIFICATION OF LIVE FRAMES</div>')
 
 
 
 
 
 
 
 
 
 
 
 
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)",