Spaces:
Paused
Paused
Commit
·
14d63c0
1
Parent(s):
50a5908
Added HF_TOKEN to app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
api_key = os.getenv("HF_TOKEN")
|
5 |
|
6 |
def start_training():
|
7 |
-
os.system("python quickstart.py" )
|
8 |
return "Evaluation completed!"
|
9 |
|
10 |
iface = gr.Interface(
|
|
|
4 |
api_key = os.getenv("HF_TOKEN")
|
5 |
|
6 |
def start_training():
|
7 |
+
os.system("python quickstart.py --model_name_or_path Qwen/Qwen2.5-0.5B --train_data_dir trl-lib/Capybara --api_key HF_TOKEN" )
|
8 |
return "Evaluation completed!"
|
9 |
|
10 |
iface = gr.Interface(
|