Update main.py
Browse files
main.py
CHANGED
|
@@ -12,9 +12,9 @@ from typing import List, Dict, Any, Optional, AsyncGenerator
|
|
| 12 |
# --- Configuration ---
|
| 13 |
INFERENCE_API_KEY = os.environ.get("INFERENCE_API_KEY", "inference-00050468cc1c4a20bd5ca0997c752329")
|
| 14 |
INFERENCE_API_URL = "https://api.inference.net/v1/chat/completions"
|
| 15 |
-
SEARCH_API_URL = "https://
|
| 16 |
-
NEWS_API_URL = "https://
|
| 17 |
-
IMAGE_API_URL = "https://
|
| 18 |
MODEL_NAME = "Binglity-Lite"
|
| 19 |
BACKEND_MODEL = "meta-llama/llama-3.1-8b-instruct/fp-8"
|
| 20 |
|
|
|
|
| 12 |
# --- Configuration ---
|
| 13 |
INFERENCE_API_KEY = os.environ.get("INFERENCE_API_KEY", "inference-00050468cc1c4a20bd5ca0997c752329")
|
| 14 |
INFERENCE_API_URL = "https://api.inference.net/v1/chat/completions"
|
| 15 |
+
SEARCH_API_URL = "https://searchapi.snapzion.com/search"
|
| 16 |
+
NEWS_API_URL = "https://searchapi.snapzion.com/news"
|
| 17 |
+
IMAGE_API_URL = "https://searchapi.snapzion.com/images" # Added Image API URL
|
| 18 |
MODEL_NAME = "Binglity-Lite"
|
| 19 |
BACKEND_MODEL = "meta-llama/llama-3.1-8b-instruct/fp-8"
|
| 20 |
|