fruitpicker01 commited on
Commit
bde2dd6
·
verified ·
1 Parent(s): ebb52f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -405,11 +405,11 @@ def generate_message_mistral_with_retry(prompt):
405
  return message
406
 
407
 
408
- def generate_messages(description, advantages, *selected_values):
409
 
410
- save_user_request_to_github(description, advantages, selected_values)
411
 
412
- standard_prompt = generate_standard_prompt(description, advantages, *selected_values)
413
 
414
  results = {
415
  "prompt": standard_prompt,
@@ -827,7 +827,7 @@ def personalize_and_save(
827
 
828
  # После завершения персонализации, сохраняем результаты
829
  if last_personalization_result:
830
- save_user_request_to_github(description, advantages, selected_values)
831
 
832
 
833
  def clear_fields():
 
405
  return message
406
 
407
 
408
+ def generate_messages(description, advantages, key_message, approach, *selected_values):
409
 
410
+ save_user_request_to_github(description, advantages, key_message, approach, selected_values)
411
 
412
+ standard_prompt = generate_standard_prompt(description, advantages, key_message, approach, *selected_values)
413
 
414
  results = {
415
  "prompt": standard_prompt,
 
827
 
828
  # После завершения персонализации, сохраняем результаты
829
  if last_personalization_result:
830
+ save_user_request_to_github(description, advantages, key_message, approach, selected_values)
831
 
832
 
833
  def clear_fields():