Shreyas094 commited on
Commit
03a8bc0
·
verified ·
1 Parent(s): 1f79b12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -343,7 +343,7 @@ def respond(message, history, model, temperature, num_calls, use_web_search, sel
343
  # Use Cloudflare API
344
  for partial_response in get_response_from_cloudflare(prompt="", context=context_str, query=message, num_calls=num_calls, temperature=temperature, search_type="pdf"):
345
  first_line = partial_response.split('\n')[0] if partial_response else ''
346
- logging.info(f"Generated Response (first line): {first_line}")
347
  yield partial_response
348
  else:
349
  # Use Hugging Face API
 
343
  # Use Cloudflare API
344
  for partial_response in get_response_from_cloudflare(prompt="", context=context_str, query=message, num_calls=num_calls, temperature=temperature, search_type="pdf"):
345
  first_line = partial_response.split('\n')[0] if partial_response else ''
346
+ # logging.info(f"Generated Response (first line): {first_line}")
347
  yield partial_response
348
  else:
349
  # Use Hugging Face API