Spaces:
Running
Running
jhj0517
commited on
Commit
β’
63d0035
1
Parent(s):
62614b3
update scale of the columns
Browse files
app.py
CHANGED
@@ -70,8 +70,8 @@ class App:
|
|
70 |
with gr.Row():
|
71 |
btn_run = gr.Button("GENERATE SUBTITLE FILE", variant="primary")
|
72 |
with gr.Row():
|
73 |
-
tb_indicator = gr.Textbox(label="Output", scale=
|
74 |
-
files_subtitles = gr.Files(label="Downloadable output file", scale=
|
75 |
btn_openfolder = gr.Button('π', scale=1)
|
76 |
|
77 |
params = [input_file, dd_file_format, cb_timestamp]
|
@@ -124,8 +124,8 @@ class App:
|
|
124 |
with gr.Row():
|
125 |
btn_run = gr.Button("GENERATE SUBTITLE FILE", variant="primary")
|
126 |
with gr.Row():
|
127 |
-
tb_indicator = gr.Textbox(label="Output", scale=
|
128 |
-
files_subtitles = gr.Files(label="Downloadable output file", scale=
|
129 |
btn_openfolder = gr.Button('π', scale=1)
|
130 |
|
131 |
params = [tb_youtubelink, dd_file_format, cb_timestamp]
|
@@ -171,8 +171,8 @@ class App:
|
|
171 |
with gr.Row():
|
172 |
btn_run = gr.Button("GENERATE SUBTITLE FILE", variant="primary")
|
173 |
with gr.Row():
|
174 |
-
tb_indicator = gr.Textbox(label="Output", scale=
|
175 |
-
files_subtitles = gr.Files(label="Downloadable output file", scale=
|
176 |
btn_openfolder = gr.Button('π', scale=1)
|
177 |
|
178 |
params = [mic_input, dd_file_format]
|
@@ -214,8 +214,8 @@ class App:
|
|
214 |
with gr.Row():
|
215 |
btn_run = gr.Button("TRANSLATE SUBTITLE FILE", variant="primary")
|
216 |
with gr.Row():
|
217 |
-
tb_indicator = gr.Textbox(label="Output", scale=
|
218 |
-
files_subtitles = gr.Files(label="Downloadable output file", scale=
|
219 |
btn_openfolder = gr.Button('π', scale=1)
|
220 |
|
221 |
btn_run.click(fn=self.deepl_api.translate_deepl,
|
@@ -241,8 +241,8 @@ class App:
|
|
241 |
with gr.Row():
|
242 |
btn_run = gr.Button("TRANSLATE SUBTITLE FILE", variant="primary")
|
243 |
with gr.Row():
|
244 |
-
tb_indicator = gr.Textbox(label="Output", scale=
|
245 |
-
files_subtitles = gr.Files(label="Downloadable output file", scale=
|
246 |
btn_openfolder = gr.Button('π', scale=1)
|
247 |
with gr.Column():
|
248 |
md_vram_table = gr.HTML(NLLB_VRAM_TABLE, elem_id="md_nllb_vram_table")
|
|
|
70 |
with gr.Row():
|
71 |
btn_run = gr.Button("GENERATE SUBTITLE FILE", variant="primary")
|
72 |
with gr.Row():
|
73 |
+
tb_indicator = gr.Textbox(label="Output", scale=5)
|
74 |
+
files_subtitles = gr.Files(label="Downloadable output file", scale=3, interactive=False)
|
75 |
btn_openfolder = gr.Button('π', scale=1)
|
76 |
|
77 |
params = [input_file, dd_file_format, cb_timestamp]
|
|
|
124 |
with gr.Row():
|
125 |
btn_run = gr.Button("GENERATE SUBTITLE FILE", variant="primary")
|
126 |
with gr.Row():
|
127 |
+
tb_indicator = gr.Textbox(label="Output", scale=5)
|
128 |
+
files_subtitles = gr.Files(label="Downloadable output file", scale=3)
|
129 |
btn_openfolder = gr.Button('π', scale=1)
|
130 |
|
131 |
params = [tb_youtubelink, dd_file_format, cb_timestamp]
|
|
|
171 |
with gr.Row():
|
172 |
btn_run = gr.Button("GENERATE SUBTITLE FILE", variant="primary")
|
173 |
with gr.Row():
|
174 |
+
tb_indicator = gr.Textbox(label="Output", scale=5)
|
175 |
+
files_subtitles = gr.Files(label="Downloadable output file", scale=3)
|
176 |
btn_openfolder = gr.Button('π', scale=1)
|
177 |
|
178 |
params = [mic_input, dd_file_format]
|
|
|
214 |
with gr.Row():
|
215 |
btn_run = gr.Button("TRANSLATE SUBTITLE FILE", variant="primary")
|
216 |
with gr.Row():
|
217 |
+
tb_indicator = gr.Textbox(label="Output", scale=5)
|
218 |
+
files_subtitles = gr.Files(label="Downloadable output file", scale=3)
|
219 |
btn_openfolder = gr.Button('π', scale=1)
|
220 |
|
221 |
btn_run.click(fn=self.deepl_api.translate_deepl,
|
|
|
241 |
with gr.Row():
|
242 |
btn_run = gr.Button("TRANSLATE SUBTITLE FILE", variant="primary")
|
243 |
with gr.Row():
|
244 |
+
tb_indicator = gr.Textbox(label="Output", scale=5)
|
245 |
+
files_subtitles = gr.Files(label="Downloadable output file", scale=3)
|
246 |
btn_openfolder = gr.Button('π', scale=1)
|
247 |
with gr.Column():
|
248 |
md_vram_table = gr.HTML(NLLB_VRAM_TABLE, elem_id="md_nllb_vram_table")
|