Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -58,14 +58,14 @@ def main():
|
|
58 |
dataset_upload = gr.UploadButton(label="Upload Dataset (csv, jsonl, or txt)",
|
59 |
file_types=[".csv",".jsonl", ".txt"],
|
60 |
visible=False)
|
|
|
|
|
61 |
dataset_choice.change(textbox_visibility,
|
62 |
dataset_choice,
|
63 |
dataset_predefined)
|
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",
|
|
|
58 |
dataset_upload = gr.UploadButton(label="Upload Dataset (csv, jsonl, or txt)",
|
59 |
file_types=[".csv",".jsonl", ".txt"],
|
60 |
visible=False)
|
61 |
+
data_field = gr.Textbox(label="Dataset Training Field",
|
62 |
+
value=conf['model']['general']["dataset_text_field"])
|
63 |
dataset_choice.change(textbox_visibility,
|
64 |
dataset_choice,
|
65 |
dataset_predefined)
|
66 |
dataset_choice.change(upload_visibility,
|
67 |
dataset_choice,
|
68 |
dataset_upload)
|
|
|
|
|
69 |
|
70 |
# Parameters
|
71 |
max_seq_length = gr.Textbox(label="Maximum sequence length",
|