Spaces:
Building
Building
Update src/templates/result.html
Browse files
src/templates/result.html
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
<head>
|
@@ -29,7 +30,6 @@
|
|
29 |
<h2 class="text-2xl font-bold mb-6 text-gray-800">Translation Results / 번역 결과</h2>
|
30 |
|
31 |
<div class="flex">
|
32 |
-
<!-- 좌측: 번역 결과 -->
|
33 |
<div class="w-1/2 pr-4 space-y-6">
|
34 |
<div class="p-4 bg-white/50 rounded-lg">
|
35 |
<h3 class="font-medium text-gray-700 mb-2">Original Text / 원문</h3>
|
@@ -45,7 +45,6 @@
|
|
45 |
</div>
|
46 |
</div>
|
47 |
|
48 |
-
<!-- 우측: 비디오 -->
|
49 |
<div class="w-1/2 pl-4">
|
50 |
<div class="p-4 bg-white/50 rounded-lg">
|
51 |
<h3 class="font-medium text-gray-700 mb-2">Sign Language Video / 수화 영상</h3>
|
@@ -55,8 +54,9 @@
|
|
55 |
style="width: 288px; height: 192px; margin: 0 auto;">
|
56 |
</div>
|
57 |
<div class="mt-4 text-center">
|
58 |
-
<a href="{{ url_for('download_video', gloss_sentence=gloss_sentence_after_synonym) }}"
|
59 |
-
class="bg-green-600 text-white py-2 px-4 rounded hover:bg-green-700 transition-colors"
|
|
|
60 |
Download Video
|
61 |
</a>
|
62 |
</div>
|
|
|
1 |
+
<!-- templates/result.html -->
|
2 |
<!DOCTYPE html>
|
3 |
<html lang="en">
|
4 |
<head>
|
|
|
30 |
<h2 class="text-2xl font-bold mb-6 text-gray-800">Translation Results / 번역 결과</h2>
|
31 |
|
32 |
<div class="flex">
|
|
|
33 |
<div class="w-1/2 pr-4 space-y-6">
|
34 |
<div class="p-4 bg-white/50 rounded-lg">
|
35 |
<h3 class="font-medium text-gray-700 mb-2">Original Text / 원문</h3>
|
|
|
45 |
</div>
|
46 |
</div>
|
47 |
|
|
|
48 |
<div class="w-1/2 pl-4">
|
49 |
<div class="p-4 bg-white/50 rounded-lg">
|
50 |
<h3 class="font-medium text-gray-700 mb-2">Sign Language Video / 수화 영상</h3>
|
|
|
54 |
style="width: 288px; height: 192px; margin: 0 auto;">
|
55 |
</div>
|
56 |
<div class="mt-4 text-center">
|
57 |
+
<a href="{{ url_for('download_video', gloss_sentence=gloss_sentence_after_synonym|urlencode) }}"
|
58 |
+
class="bg-green-600 text-white py-2 px-4 rounded hover:bg-green-700 transition-colors"
|
59 |
+
download="sign_language.mp4">
|
60 |
Download Video
|
61 |
</a>
|
62 |
</div>
|