Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -567,7 +567,7 @@ with demo:
|
|
567 |
with gr.Column():
|
568 |
gr.Markdown('''
|
569 |
### PLEASE READ BELOW
|
570 |
-
### Because of big demand for this demo all credits
|
571 |
### I might make some adjustments in the future for the translation to use some other model if all the API credits have been used but this is the situation for now
|
572 |
### Translation credits will reset every 5th of month.
|
573 |
Here you will can translate transcriptions to 26 languages.
|
@@ -576,7 +576,7 @@ with demo:
|
|
576 |
gr.Markdown(f'''
|
577 |
DeepL API character usage:
|
578 |
{deepL_character_usage if deepL_character_usage is not None else ''}/500 000 characters
|
579 |
-
If usage is over 490 000 characters original transcriptions will be used for subtitles.
|
580 |
API usage resets on 5th of every month.
|
581 |
''')
|
582 |
selected_translation_lang_2.render()
|
|
|
567 |
with gr.Column():
|
568 |
gr.Markdown('''
|
569 |
### PLEASE READ BELOW
|
570 |
+
### Because of big demand for this demo all credits for translation might be gone already for the month. In this case we return the original transcript from this component :(
|
571 |
### I might make some adjustments in the future for the translation to use some other model if all the API credits have been used but this is the situation for now
|
572 |
### Translation credits will reset every 5th of month.
|
573 |
Here you will can translate transcriptions to 26 languages.
|
|
|
576 |
gr.Markdown(f'''
|
577 |
DeepL API character usage:
|
578 |
{deepL_character_usage if deepL_character_usage is not None else ''}/500 000 characters
|
579 |
+
If usage is over 490 000 characters original transcriptions will be used for subtitles. This value might not properly update so if you get transcriptions in original language that might be the reason.
|
580 |
API usage resets on 5th of every month.
|
581 |
''')
|
582 |
selected_translation_lang_2.render()
|