Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -656,6 +656,9 @@ def add_song_cover_text(img,artist,song,height,width):
|
|
656 |
|
657 |
spaces.GPU(300)
|
658 |
def upscale_image(img,factor):
|
|
|
|
|
|
|
659 |
if working:
|
660 |
return
|
661 |
|
@@ -1292,6 +1295,8 @@ def handle_generation(artist,song,lyrics,height,width):
|
|
1292 |
|
1293 |
log(f'CALL handle_generate')
|
1294 |
|
|
|
|
|
1295 |
if working:
|
1296 |
return
|
1297 |
|
|
|
656 |
|
657 |
spaces.GPU(300)
|
658 |
def upscale_image(img,factor):
|
659 |
+
|
660 |
+
global working
|
661 |
+
|
662 |
if working:
|
663 |
return
|
664 |
|
|
|
1295 |
|
1296 |
log(f'CALL handle_generate')
|
1297 |
|
1298 |
+
global working
|
1299 |
+
|
1300 |
if working:
|
1301 |
return
|
1302 |
|