cstr commited on
Commit
d021055
·
verified ·
1 Parent(s): 30d63b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -206,6 +206,9 @@ def build_prompts(snippets: List[str], prompt_instruction: str, custom_prompt: O
206
  def send_to_model(prompt, model_selection, hf_model_choice, hf_custom_model, hf_api_key,
207
  groq_model_choice, groq_api_key, openai_api_key, openai_model_choice):
208
  """Wrapper function for send_to_model_impl with proper error handling."""
 
 
 
209
  if not prompt or not prompt.strip():
210
  return "Error: No prompt provided", None
211
 
 
206
  def send_to_model(prompt, model_selection, hf_model_choice, hf_custom_model, hf_api_key,
207
  groq_model_choice, groq_api_key, openai_api_key, openai_model_choice):
208
  """Wrapper function for send_to_model_impl with proper error handling."""
209
+
210
+ logging.info("send to model startet..")
211
+
212
  if not prompt or not prompt.strip():
213
  return "Error: No prompt provided", None
214