Spaces:
Runtime error
Runtime error
Use environement variables with os.environ function
Browse files- app.py +1 -0
- spanish_medica_llm.py +1 -0
app.py
CHANGED
@@ -9,6 +9,7 @@ import sys
|
|
9 |
|
10 |
import torch
|
11 |
|
|
|
12 |
from spanish_medica_llm import run_training, run_training_process
|
13 |
|
14 |
import gradio as gr
|
|
|
9 |
|
10 |
import torch
|
11 |
|
12 |
+
|
13 |
from spanish_medica_llm import run_training, run_training_process
|
14 |
|
15 |
import gradio as gr
|
spanish_medica_llm.py
CHANGED
@@ -539,6 +539,7 @@ def configAndRunTraining(basemodel, dataset, eval_dataset, tokenizer):
|
|
539 |
|
540 |
trainer.push_to_hub()
|
541 |
|
|
|
542 |
|
543 |
def run_training_process():
|
544 |
#Loggin to Huggin Face
|
|
|
539 |
|
540 |
trainer.push_to_hub()
|
541 |
|
542 |
+
|
543 |
|
544 |
def run_training_process():
|
545 |
#Loggin to Huggin Face
|