KingNish commited on
Commit
9ecf754
1 Parent(s): f50a979

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -231,7 +231,7 @@ async def ask_website(url: str, question: str):
231
  visible_text = visible_text[:7500] + "..."
232
 
233
  # Construct a prompt for the chat model
234
- prompt = f"Based on the following text, answer this question in Detail: [QUESTION] {question}\n\n[TEXT] {visible_text}"
235
 
236
  # Use chat model to get the answer
237
  with WEBS() as webs:
 
231
  visible_text = visible_text[:7500] + "..."
232
 
233
  # Construct a prompt for the chat model
234
+ prompt = f"Based on the following text, answer this question in Paragraph: [QUESTION] {question}\n\n[TEXT] {visible_text}"
235
 
236
  # Use chat model to get the answer
237
  with WEBS() as webs: