yaron123 commited on
Commit
fc99013
·
1 Parent(s): 7e211bb
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -207,7 +207,7 @@ def pipe_generate(img,p1,p2,time,title):
207
 
208
  if title != "":
209
  draw = ImageDraw.Draw(img)
210
- textheight=100
211
  rows = 1
212
  font = ImageFont.truetype(r"OpenSans-Bold.ttf", textheight)
213
  textwidth = draw.textlength(title,font)
@@ -248,7 +248,7 @@ def handle_generate(*_inp):
248
  if len(inp[1]) >= 2:
249
  inp[1] = "," + inp[1].strip(",").strip(" ")
250
 
251
- inp[1] = f'realistic,vivid,looks beautiful and pretty,look genuine and authentic,reasonable logic,natural,masterpiece,highly detailed{inp[1]}'
252
 
253
  print(f"""
254
 
 
207
 
208
  if title != "":
209
  draw = ImageDraw.Draw(img)
210
+ textheight=80
211
  rows = 1
212
  font = ImageFont.truetype(r"OpenSans-Bold.ttf", textheight)
213
  textwidth = draw.textlength(title,font)
 
248
  if len(inp[1]) >= 2:
249
  inp[1] = "," + inp[1].strip(",").strip(" ")
250
 
251
+ inp[1] = f'looks real,feels real,similar to real photographs,dark vivid colors,looks beautiful and pretty,look genuine and authentic,reasonable logic,natural,masterpiece,highly detailed{inp[1]}'
252
 
253
  print(f"""
254