Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -490,7 +490,10 @@ with gr.Blocks(css=STYLES) as demo:
|
|
| 490 |
'Friends',
|
| 491 |
'Cyborg Of A Beast',
|
| 492 |
'Man At The Graveyard',
|
| 493 |
-
'Vampire Of The Land'
|
|
|
|
|
|
|
|
|
|
| 494 |
]
|
| 495 |
|
| 496 |
num_enabled_alts = gr.State(0)
|
|
@@ -598,7 +601,7 @@ with gr.Blocks(css=STYLES) as demo:
|
|
| 598 |
outputs=[title],
|
| 599 |
_js="""
|
| 600 |
function get_random_title() {
|
| 601 |
-
let titles = ['Pokemon training story', 'The Sun of Shangri-La', 'Man In The Future', 'Friends', 'Cyborg Of A Beast', 'Man At The Graveyard', 'Vampire Of The Land'];
|
| 602 |
|
| 603 |
return titles[(Math.floor(Math.random() * titles.length))];
|
| 604 |
}
|
|
|
|
| 490 |
'Friends',
|
| 491 |
'Cyborg Of A Beast',
|
| 492 |
'Man At The Graveyard',
|
| 493 |
+
'Vampire Of The Land',
|
| 494 |
+
'Do not trust your wife',
|
| 495 |
+
'A software engineer who is looking for job',
|
| 496 |
+
'A software engineer licensed to kill'
|
| 497 |
]
|
| 498 |
|
| 499 |
num_enabled_alts = gr.State(0)
|
|
|
|
| 601 |
outputs=[title],
|
| 602 |
_js="""
|
| 603 |
function get_random_title() {
|
| 604 |
+
let titles = ['Pokemon training story', 'The Sun of Shangri-La', 'Man In The Future', 'Friends', 'Cyborg Of A Beast', 'Man At The Graveyard', 'Vampire Of The Land', 'Do not trust your wife', 'A software engineer who is looking for job', 'A software engineer licensed to kill'];
|
| 605 |
|
| 606 |
return titles[(Math.floor(Math.random() * titles.length))];
|
| 607 |
}
|