Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,6 +64,9 @@ def main():
|
|
64 |
dataset_choice.change(upload_visibility,
|
65 |
dataset_choice,
|
66 |
dataset_upload)
|
|
|
|
|
|
|
67 |
# Parameters
|
68 |
max_seq_length = gr.Textbox(label="Maximum sequence length",
|
69 |
value=conf['model']['general']["max_seq_length"])
|
@@ -73,8 +76,6 @@ def main():
|
|
73 |
value=conf['model']['general']["num_train_epochs"])
|
74 |
max_steps = gr.Textbox(label="Maximum steps",
|
75 |
value=conf['model']['general']["max_steps"])
|
76 |
-
data_field = gr.Textbox(label="Dataset Training Field",
|
77 |
-
value=conf['model']['general']["dataset_text_field"])
|
78 |
repository = gr.Textbox(label="Repository Name",
|
79 |
value=conf['model']['general']["repository"])
|
80 |
model_out_name = gr.Textbox(label="Model Output Name",
|
|
|
64 |
dataset_choice.change(upload_visibility,
|
65 |
dataset_choice,
|
66 |
dataset_upload)
|
67 |
+
data_field = gr.Textbox(label="Dataset Training Field",
|
68 |
+
value=conf['model']['general']["dataset_text_field"])
|
69 |
+
|
70 |
# Parameters
|
71 |
max_seq_length = gr.Textbox(label="Maximum sequence length",
|
72 |
value=conf['model']['general']["max_seq_length"])
|
|
|
76 |
value=conf['model']['general']["num_train_epochs"])
|
77 |
max_steps = gr.Textbox(label="Maximum steps",
|
78 |
value=conf['model']['general']["max_steps"])
|
|
|
|
|
79 |
repository = gr.Textbox(label="Repository Name",
|
80 |
value=conf['model']['general']["repository"])
|
81 |
model_out_name = gr.Textbox(label="Model Output Name",
|