pvanand commited on
Commit
288a296
1 Parent(s): 337dba1

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -1
main.py CHANGED
@@ -255,7 +255,6 @@ async def news_assistant(query: NewsQueryModel, api_key: str = Depends(verify_ap
255
  if not messages:
256
  raise HTTPException(status_code=500, detail="Failed to fetch news data")
257
 
258
- @cache(expire=3600)
259
  def process_response():
260
  for content in chat_with_llama_stream(messages, model="google/gemini-pro-1.5"):
261
  yield content
 
255
  if not messages:
256
  raise HTTPException(status_code=500, detail="Failed to fetch news data")
257
 
 
258
  def process_response():
259
  for content in chat_with_llama_stream(messages, model="google/gemini-pro-1.5"):
260
  yield content