hussein2000 commited on
Commit
b453435
·
verified ·
1 Parent(s): f70e135

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def get_response():
18
  return jsonify({"error": "User message is required"}), 400
19
 
20
  # Construct the URL for you.com API request
21
- url = f"https://you.com/api/streamingSearch?page=1&count=10&safeSearch=Moderate&enable_worklow_generation_ux=true&domain=youchat&use_personalization_extraction=false&traceId=&selectedChatMode=user_mode_ed7a545e-d226-457d-8a92-c436153fe827q=CHAT : {user_message}"
22
 
23
  # Send the request to you.com
24
  response = requests.get(url, headers=headers, stream=True)
 
18
  return jsonify({"error": "User message is required"}), 400
19
 
20
  # Construct the URL for you.com API request
21
+ url = f"https://you.com/api/streamingSearch?page=1&count=10&safeSearch=Moderate&enable_worklow_generation_ux=true&domain=youchat&use_personalization_extraction=false&traceId=&selectedChatMode=user_mode_ed7a545e-d226-457d-8a92-c436153fe827&q=CHAT : {user_message}"
22
 
23
  # Send the request to you.com
24
  response = requests.get(url, headers=headers, stream=True)