ysharma HF staff commited on
Commit
ecdf7f3
·
1 Parent(s): 6da1491

Update app_dialogue.py

Browse files
Files changed (1) hide show
  1. app_dialogue.py +10 -10
app_dialogue.py CHANGED
@@ -519,16 +519,16 @@ with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
519
  repetition_penalty,
520
  top_p,
521
  ):
522
- print("************ model_inference ***********")
523
- print(f"params: model_selector - {model_selector}")
524
- print(f"params: user_prompt_str - {user_prompt_str}")
525
- print(f"params: chat_history - {chat_history}")
526
- print(f"params: image - {image}")
527
- print(f"params: decoding_strategy - {decoding_strategy}")
528
- print(f"params: temperature - {temperature}")
529
- print(f"params: max_new_tokens - {max_new_tokens}")
530
- print(f"params: repetition_penalty - {repetition_penalty}")
531
- print(f"params: top_p - {top_p}")
532
  if user_prompt_str.strip() == "" and image is None:
533
  return "", None, chat_history
534
 
 
519
  repetition_penalty,
520
  top_p,
521
  ):
522
+ print("************ model_inference ***********")
523
+ print(f"params: model_selector - {model_selector}")
524
+ print(f"params: user_prompt_str - {user_prompt_str}")
525
+ print(f"params: chat_history - {chat_history}")
526
+ print(f"params: image - {image}")
527
+ print(f"params: decoding_strategy - {decoding_strategy}")
528
+ print(f"params: temperature - {temperature}")
529
+ print(f"params: max_new_tokens - {max_new_tokens}")
530
+ print(f"params: repetition_penalty - {repetition_penalty}")
531
+ print(f"params: top_p - {top_p}")
532
  if user_prompt_str.strip() == "" and image is None:
533
  return "", None, chat_history
534