Spaces:
Runtime error
Runtime error
Update templates/index_new.html
Browse files- templates/index_new.html +3 -3
templates/index_new.html
CHANGED
@@ -431,7 +431,7 @@
|
|
431 |
|
432 |
<select class="flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring form-select" name="target_language">
|
433 |
{% for lang in languages[1:] %}
|
434 |
-
{% if lang == "
|
435 |
<option value="{{ lang }}" selected>Čeština (cs)</option>
|
436 |
{% else %}
|
437 |
<option value="{{ lang }}">{{ lang }}</option>
|
@@ -446,7 +446,7 @@
|
|
446 |
<label class="text-sm font-medium text-foreground">Zdroj zvuku nebo videa*</label>
|
447 |
<div id="konecvyberu" class="h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground grid w-full grid-cols-2">
|
448 |
<button type="button" id="uploadBtn" class="inline-flex items-center justify-center rounded-md px-3 py-1 text-sm font-medium bg-card text-foreground shadow transition-colors" disabled>Nahrát soubor</button>
|
449 |
-
<button
|
450 |
</div>
|
451 |
<div class="mt-2">
|
452 |
<div class="border-2 border-dashed rounded-lg p-8 text-center space-y-4 hover:border-primary transition-colors cursor-pointer">
|
@@ -469,7 +469,7 @@
|
|
469 |
<div id="youtubeStatus" style=" text-align: center; margin-top: -20px;" class="mt-2"></div>
|
470 |
|
471 |
|
472 |
-
<div id="zpracovani4" class="flex items-center space-x-2"><button type="button" role="switch" aria-checked="false" data-state="unchecked" value="on" class="peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input" id="translationCorrectionBtn"><span data-state="unchecked" class="pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"></span></button><label class="font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-sm cursor-pointer select-none" for="translationCorrectionBtn"
|
473 |
<button id="submitBtn" disabled class="inline-flex items-center justify-center text-sm font-medium transition-colors bg-primary text-primary-foreground shadow hover:bg-primary/90 h-10 rounded-md px-8 w-full mb-2">Vytvořit dabing</button>
|
474 |
|
475 |
<p HIDDEN class="text-sm text-center font-medium">AI Video Dub</p>
|
|
|
431 |
|
432 |
<select class="flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring form-select" name="target_language">
|
433 |
{% for lang in languages[1:] %}
|
434 |
+
{% if lang == "Czech (cs)" %}
|
435 |
<option value="{{ lang }}" selected>Čeština (cs)</option>
|
436 |
{% else %}
|
437 |
<option value="{{ lang }}">{{ lang }}</option>
|
|
|
446 |
<label class="text-sm font-medium text-foreground">Zdroj zvuku nebo videa*</label>
|
447 |
<div id="konecvyberu" class="h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground grid w-full grid-cols-2">
|
448 |
<button type="button" id="uploadBtn" class="inline-flex items-center justify-center rounded-md px-3 py-1 text-sm font-medium bg-card text-foreground shadow transition-colors" disabled>Nahrát soubor</button>
|
449 |
+
<button type="button" id="youtubeBtn" class="inline-flex items-center justify-center rounded-md px-3 py-1 text-sm font-medium transition-colors" disabled>YouTube</button>
|
450 |
</div>
|
451 |
<div class="mt-2">
|
452 |
<div class="border-2 border-dashed rounded-lg p-8 text-center space-y-4 hover:border-primary transition-colors cursor-pointer">
|
|
|
469 |
<div id="youtubeStatus" style=" text-align: center; margin-top: -20px;" class="mt-2"></div>
|
470 |
|
471 |
|
472 |
+
<div id="zpracovani4" class="flex items-center space-x-2"><button type="button" role="switch" aria-checked="false" data-state="unchecked" value="on" class="peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input" id="translationCorrectionBtn"><span data-state="unchecked" class="pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0"></span></button><label class="font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-sm cursor-pointer select-none" for="translationCorrectionBtn">Manuální korekce překladu</label></div>
|
473 |
<button id="submitBtn" disabled class="inline-flex items-center justify-center text-sm font-medium transition-colors bg-primary text-primary-foreground shadow hover:bg-primary/90 h-10 rounded-md px-8 w-full mb-2">Vytvořit dabing</button>
|
474 |
|
475 |
<p HIDDEN class="text-sm text-center font-medium">AI Video Dub</p>
|