yaron123 commited on
Commit
43b7e5d
·
1 Parent(s): e7052c0
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -58,11 +58,11 @@ additional_image = None
58
 
59
  seq=512
60
  fps=18
61
- width=768
62
- height=768
63
  image_steps=8
64
  video_steps=15
65
- accu=4.5
66
 
67
  # ui data
68
 
@@ -207,7 +207,7 @@ def pipe_generate(img,p1,p2,time,title):
207
 
208
  if title != "":
209
  draw = ImageDraw.Draw(img)
210
- textheight=200
211
  font = ImageFont.truetype(r"OpenSans-Bold.ttf", textheight)
212
  textwidth = draw.textlength(title,font)
213
  x = (width - textwidth) // 2
 
58
 
59
  seq=512
60
  fps=18
61
+ width=1440
62
+ height=1440
63
  image_steps=8
64
  video_steps=15
65
+ accu=6.5
66
 
67
  # ui data
68
 
 
207
 
208
  if title != "":
209
  draw = ImageDraw.Draw(img)
210
+ textheight=60
211
  font = ImageFont.truetype(r"OpenSans-Bold.ttf", textheight)
212
  textwidth = draw.textlength(title,font)
213
  x = (width - textwidth) // 2