Yaron Koresh commited on
Commit
34de90e
·
verified ·
1 Parent(s): 4c5f7a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -436,8 +436,8 @@ base = "black-forest-labs/FLUX.1-schnell"
436
  # precision data
437
 
438
  seq=256
439
- width=2048
440
- height=2048
441
  image_steps=8
442
  img_accu=0
443
 
@@ -742,7 +742,7 @@ def translate(txt,to_lang="en",from_lang=False):
742
  log(f'RET translate with translation as {translation}')
743
  return translation
744
 
745
- @spaces.GPU(duration=300)
746
  def handle_generation(artist,song,genre,lyrics):
747
 
748
  log(f'CALL handle_generate')
 
436
  # precision data
437
 
438
  seq=256
439
+ width=768
440
+ height=768
441
  image_steps=8
442
  img_accu=0
443
 
 
742
  log(f'RET translate with translation as {translation}')
743
  return translation
744
 
745
+ @spaces.GPU(duration=120)
746
  def handle_generation(artist,song,genre,lyrics):
747
 
748
  log(f'CALL handle_generate')