MRasheq commited on
Commit
f1f1c44
·
1 Parent(s): 06275cb

Sixth Commit

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- # Configure Gradio to handle larger file uploads
252
- gr.Config(upload_size_limit=100)
 
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():