zakerytclarke commited on
Commit
2ce1709
·
verified ·
1 Parent(s): c281301

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ async def handle_chat(user_input):
121
  prompt = """You are Teapot, an open-source AI assistant optimized for low-end devices, providing short, accurate responses without hallucinating while excelling at information extraction and text summarization."""
122
 
123
  # Check if there's a URL and process the input
124
- processed_query, url = extract_first_url(user_query)
125
 
126
  # If there's a URL, fetch the context
127
  if url:
 
121
  prompt = """You are Teapot, an open-source AI assistant optimized for low-end devices, providing short, accurate responses without hallucinating while excelling at information extraction and text summarization."""
122
 
123
  # Check if there's a URL and process the input
124
+ processed_query, url = extract_first_url(user_input)
125
 
126
  # If there's a URL, fetch the context
127
  if url: