Spaces:
Sleeping
Sleeping
Sixth Commit
Browse files
app.py
CHANGED
@@ -246,10 +246,10 @@ def train_model(
|
|
246 |
except Exception as e:
|
247 |
return f"Error during training: {str(e)}"
|
248 |
|
249 |
-
# Create Gradio interface
|
250 |
def create_interface():
|
251 |
-
|
252 |
-
gr.
|
|
|
253 |
|
254 |
with gr.Row():
|
255 |
with gr.Column():
|
|
|
246 |
except Exception as e:
|
247 |
return f"Error during training: {str(e)}"
|
248 |
|
|
|
249 |
def create_interface():
|
250 |
+
"""Create Gradio interface with proper file upload handling"""
|
251 |
+
with gr.Blocks() as demo:
|
252 |
+
gr.Markdown("# DeepSeek-R1 Model Finetuning Interface")
|
253 |
|
254 |
with gr.Row():
|
255 |
with gr.Column():
|