Spaces:
Sleeping
Sleeping
Asking Copilot to fix a runtime error
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ with gr.Blocks() as demo:
|
|
104 |
|
105 |
with gr.Tab("Fine-Tune Model"):
|
106 |
gr.Markdown("## π Fine-Tune the Model with Your Documents")
|
107 |
-
file_inputs = gr.File(label="Upload Text Files", file_count="multiple", type="
|
108 |
fine_tune_button = gr.Button("Start Fine-Tuning")
|
109 |
fine_tune_status = gr.Textbox(label="Status", interactive=False)
|
110 |
fine_tune_button.click(fine_tune_model, inputs=file_inputs, outputs=fine_tune_status)
|
|
|
104 |
|
105 |
with gr.Tab("Fine-Tune Model"):
|
106 |
gr.Markdown("## π Fine-Tune the Model with Your Documents")
|
107 |
+
file_inputs = gr.File(label="Upload Text Files", file_count="multiple", type="binary")
|
108 |
fine_tune_button = gr.Button("Start Fine-Tuning")
|
109 |
fine_tune_status = gr.Textbox(label="Status", interactive=False)
|
110 |
fine_tune_button.click(fine_tune_model, inputs=file_inputs, outputs=fine_tune_status)
|