Update app.py
Browse files
app.py
CHANGED
|
@@ -202,11 +202,11 @@ def build_interface():
|
|
| 202 |
gr.Markdown("## Video Localization")
|
| 203 |
with gr.Row():
|
| 204 |
with gr.Column():
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
with gr.Column():
|
| 211 |
# post_output = gr.Textbox(label="Posting Status", interactive=False)
|
| 212 |
translated_output = gr.JSON(label="Video transcript")
|
|
|
|
| 202 |
gr.Markdown("## Video Localization")
|
| 203 |
with gr.Row():
|
| 204 |
with gr.Column():
|
| 205 |
+
file_input = gr.File(label="Upload Video/Audio File")
|
| 206 |
+
# platform_input = gr.Dropdown(["YouTube", "Instagram"], label="Select Platform")
|
| 207 |
+
language_input = gr.Dropdown(["en", "es", "fr", "zh"], label="Select Language") # Language codes
|
| 208 |
+
submit_button = gr.Button("Post and Process")
|
| 209 |
+
|
| 210 |
with gr.Column():
|
| 211 |
# post_output = gr.Textbox(label="Posting Status", interactive=False)
|
| 212 |
translated_output = gr.JSON(label="Video transcript")
|