Skip to content

Commit

Permalink
Better
Browse files Browse the repository at this point in the history
  • Loading branch information
aitronz committed Mar 31, 2024
1 parent 2885228 commit 4a869a9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tabs/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,11 +576,12 @@ def train_tab():
)

with gr.Accordion(i18n("Export Model"), open=False):
gr.Markdown(
i18n(
"The button 'Upload' is only for google colab: Uploads the exported files to the ApplioExported folder in your Google Drive."
if not os.name == "nt":
gr.Markdown(
i18n(
"The button 'Upload' is only for google colab: Uploads the exported files to the ApplioExported folder in your Google Drive."
)
)
)
with gr.Row():
with gr.Column():
pth_file_export = gr.File(
Expand Down Expand Up @@ -617,7 +618,6 @@ def train_tab():
refresh_export = gr.Button(i18n("Refresh"))
if not os.name == "nt":
upload_exported = gr.Button(i18n("Upload"), variant="primary")

upload_exported.click(
fn=upload_to_google_drive,
inputs=[pth_dropdown_export, index_dropdown_export],
Expand Down

0 comments on commit 4a869a9

Please sign in to comment.