Spaces:
Runtime error
Runtime error
Commit
•
fee4147
1
Parent(s):
60cb933
Update app.py
Browse files
app.py
CHANGED
@@ -475,7 +475,7 @@ def switch_voice(with_voice, WITH_AUDIO,VOICE_COUNTER):
|
|
475 |
with gr.Blocks(css=css) as interface:
|
476 |
VOICE_COUNTER=gr.State(value=0)
|
477 |
WITH_AUDIO=gr.State(value=1)
|
478 |
-
VOICE_LIMIT=os.environ.get("VOICE_LIMIT")
|
479 |
|
480 |
with gr.Row():
|
481 |
drop_char1 = gr.components.Dropdown(CHARACTER_1_CHOICES,label="Character 1",value=CHARACTER_1_CHOICES[0])
|
|
|
475 |
with gr.Blocks(css=css) as interface:
|
476 |
VOICE_COUNTER=gr.State(value=0)
|
477 |
WITH_AUDIO=gr.State(value=1)
|
478 |
+
VOICE_LIMIT=int( os.environ.get("VOICE_LIMIT") )
|
479 |
|
480 |
with gr.Row():
|
481 |
drop_char1 = gr.components.Dropdown(CHARACTER_1_CHOICES,label="Character 1",value=CHARACTER_1_CHOICES[0])
|