Spaces:
Runtime error
Runtime error
Update app.py
Browse files161 unmodified lines162163164165166167168169170171161 unmodified linestry:# Rephrase the queryanalysis, rephrased_query = await rephrase_query(message, history, model)if analysis:yield f"Query Analysis: {analysis}\n\nRephrased Query: {rephrased_query}\n\nSearching the web...\n\n"async for main_content, sources in get_response_with_search(rephrased_query, model, use_embeddings, num_calls=num_calls, temperature=temperature):response = f"{main_content}\n\n{sources}"161 unmodified lines162163164165166167168169170161 unmodified linestry:# Rephrase the queryrephrased_query = await rephrase_query(message, history, model)yield f"Rephrased Query: {rephrased_query}\n\nSearching the web...\n\n"async for main_content, sources in get_response_with_search(rephrased_query, model, use_embeddings, num_calls=num_calls, temperature=temperature):response = f"{main_content}\n\n{sources}"
app.py+2-3