Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -355,7 +355,7 @@ with gr.Blocks() as demo:
|
|
355 |
translators_list = gr.Dataframe(label="Translators", interactive=False, max_rows=20, overflow_row_behaviour="paginate")
|
356 |
with gr.Tab("Add"):
|
357 |
gr.Markdown("Add a new translator")
|
358 |
-
source_platform_add = gr.Radio(["dev", "prod"], value="
|
359 |
email_id = gr.Textbox(label="Email ID", lines=1)
|
360 |
source_languages = gr.CheckboxGroup(ALL_LANGUAGES, label="Source Languages")
|
361 |
target_languages = gr.CheckboxGroup(ALL_LANGUAGES, label="Target Languages")
|
@@ -365,7 +365,7 @@ with gr.Blocks() as demo:
|
|
365 |
result = gr.Textbox(label="Logs")
|
366 |
with gr.Tab("Update"):
|
367 |
gr.Markdown("Update Translator")
|
368 |
-
source_platform_update = gr.Radio(["dev", "prod"], value="
|
369 |
refresh_update_platform = gr.Button("Load")
|
370 |
translator_name = gr.Dropdown([], label="Translators")
|
371 |
source_languages_update = gr.CheckboxGroup(ALL_LANGUAGES, label="Source Languages")
|
@@ -377,7 +377,7 @@ with gr.Blocks() as demo:
|
|
377 |
result_update = gr.Textbox(label="Logs")
|
378 |
with gr.Tab("Assign"):
|
379 |
gr.Markdown("Assign Translator / QA")
|
380 |
-
source_platform_assign = gr.Radio(["dev", "prod"], value="
|
381 |
filter_videos_assign = gr.CheckboxGroup(['Not Assigned', 'Under Review', 'Dubbing Started', 'Waiting QA', 'Sent to Client', 'Approved', 'Rejected', 'Churned', 'Re-review Requested'], label="Filter videos. Do not select any of them for videos without request info.")
|
382 |
video_details = gr.Textbox(label="Video Details")
|
383 |
refresh_assign = gr.Button("Load Videos")
|
|
|
355 |
translators_list = gr.Dataframe(label="Translators", interactive=False, max_rows=20, overflow_row_behaviour="paginate")
|
356 |
with gr.Tab("Add"):
|
357 |
gr.Markdown("Add a new translator")
|
358 |
+
source_platform_add = gr.Radio(["dev", "prod"], value="prod", label="Source Platform")
|
359 |
email_id = gr.Textbox(label="Email ID", lines=1)
|
360 |
source_languages = gr.CheckboxGroup(ALL_LANGUAGES, label="Source Languages")
|
361 |
target_languages = gr.CheckboxGroup(ALL_LANGUAGES, label="Target Languages")
|
|
|
365 |
result = gr.Textbox(label="Logs")
|
366 |
with gr.Tab("Update"):
|
367 |
gr.Markdown("Update Translator")
|
368 |
+
source_platform_update = gr.Radio(["dev", "prod"], value="prod", label="Source Platform")
|
369 |
refresh_update_platform = gr.Button("Load")
|
370 |
translator_name = gr.Dropdown([], label="Translators")
|
371 |
source_languages_update = gr.CheckboxGroup(ALL_LANGUAGES, label="Source Languages")
|
|
|
377 |
result_update = gr.Textbox(label="Logs")
|
378 |
with gr.Tab("Assign"):
|
379 |
gr.Markdown("Assign Translator / QA")
|
380 |
+
source_platform_assign = gr.Radio(["dev", "prod"], value="prod", label="Source Platform")
|
381 |
filter_videos_assign = gr.CheckboxGroup(['Not Assigned', 'Under Review', 'Dubbing Started', 'Waiting QA', 'Sent to Client', 'Approved', 'Rejected', 'Churned', 'Re-review Requested'], label="Filter videos. Do not select any of them for videos without request info.")
|
382 |
video_details = gr.Textbox(label="Video Details")
|
383 |
refresh_assign = gr.Button("Load Videos")
|