54
Browse files- app/app.py +1 -1
app/app.py
CHANGED
|
@@ -43,7 +43,7 @@ def train_model():
|
|
| 43 |
st.title("Sortie de la commande Python")
|
| 44 |
|
| 45 |
# Commande Python à exécuter
|
| 46 |
-
command = "
|
| 47 |
|
| 48 |
# Sorties de la commande
|
| 49 |
stdout, stderr = run_command(command)
|
|
|
|
| 43 |
st.title("Sortie de la commande Python")
|
| 44 |
|
| 45 |
# Commande Python à exécuter
|
| 46 |
+
command = "python3 ../train.py ../config/train_shakespeare_char.py --device=cpu --compile=False --eval_iters=20 --log_interval=1 --block_size=64 --batch_size=12 --n_layer=4 --n_head=4 --n_embd=128 --max_iters=2000 --lr_decay_iters=2000 --dropout=0.0"
|
| 47 |
|
| 48 |
# Sorties de la commande
|
| 49 |
stdout, stderr = run_command(command)
|