Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -436,8 +436,8 @@ base = "black-forest-labs/FLUX.1-schnell"
|
|
436 |
# precision data
|
437 |
|
438 |
seq=256
|
439 |
-
width=
|
440 |
-
height=
|
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=
|
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')
|