Shreyas094 commited on
Commit
d686c4f
·
verified ·
1 Parent(s): 5cb48ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -126,7 +126,7 @@ def get_response_with_search(query, model, num_calls=3, temperature=0.2, use_emb
126
  prompt = f"""Using the following context from web search results:
127
  {context}
128
  Write a detailed and complete research document that fulfills the following user request: '{query}'
129
- After writing the document, please provide a list of sources used in your response."""
130
 
131
  # Use Hugging Face API
132
  client = InferenceClient(model, token=huggingface_token)
 
126
  prompt = f"""Using the following context from web search results:
127
  {context}
128
  Write a detailed and complete research document that fulfills the following user request: '{query}'
129
+ After writing the document, please provide a list of sources with their URLs used in your response."""
130
 
131
  # Use Hugging Face API
132
  client = InferenceClient(model, token=huggingface_token)