Update app.py
Browse files77 unmodified lines787980818283848577 unmodified linestry:for main_content, sources in get_response_with_search(message, model, num_calls, temperature, use_embeddings, system_prompt):response = f"{main_content}\n\n{sources}"yield responseexcept Exception as e:logging.error(f"Error with {model}: {str(e)}")yield f"An error occurred with the {model} model: {str(e)}. Please try again or select a different model."77 unmodified lines787980818283848577 unmodified linestry:for main_content, sources in get_response_with_search(message, model, num_calls, temperature, use_embeddings, system_prompt):# response = f"{main_content}\n\n{sources}"yield main_contentexcept Exception as e:logging.error(f"Error with {model}: {str(e)}")yield f"An error occurred with the {model} model: {str(e)}. Please try again or select a different model."
app.py+2-2