Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ import subprocess
|
|
39 |
import gradio as gr
|
40 |
|
41 |
def train_model():
|
42 |
-
result = subprocess.run(["python", "
|
43 |
if result.returncode == 0:
|
44 |
return "✅ Model training complete!"
|
45 |
else:
|
|
|
39 |
import gradio as gr
|
40 |
|
41 |
def train_model():
|
42 |
+
result = subprocess.run(["python", "finetune_flan_t5.py"], capture_output=True, text=True)
|
43 |
if result.returncode == 0:
|
44 |
return "✅ Model training complete!"
|
45 |
else:
|