bstraehle commited on
Commit
227477e
1 Parent(s): ed270e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ def replace_hf_profile(base_model_id):
69
  def process(action, base_model_id, dataset, system_prompt, user_prompt, schema):
70
  #raise gr.Error("Please clone and bring your own credentials.")
71
  if action == action_1:
72
- result = fine_tune_model(base_model_id)
73
  elif action == action_2:
74
  fine_tuned_model_id = replace_hf_profile(base_model_id)
75
  result = prompt_model(fine_tuned_model_id, system_prompt, user_prompt, schema)
 
69
  def process(action, base_model_id, dataset, system_prompt, user_prompt, schema):
70
  #raise gr.Error("Please clone and bring your own credentials.")
71
  if action == action_1:
72
+ result = fine_tune_model(base_model_id, dataset)
73
  elif action == action_2:
74
  fine_tuned_model_id = replace_hf_profile(base_model_id)
75
  result = prompt_model(fine_tuned_model_id, system_prompt, user_prompt, schema)