Spaces:
Paused
Paused
Update data_collector.py
Browse files- data_collector.py +1 -1
data_collector.py
CHANGED
|
@@ -10,7 +10,7 @@ def consume_llm_api(prompt):
|
|
| 10 |
"""
|
| 11 |
Sends a prompt to the LLM API and processes the streamed response.
|
| 12 |
"""
|
| 13 |
-
url = "https://
|
| 14 |
headers = {"Content-Type": "application/json"}
|
| 15 |
payload = {"prompt": prompt,"extension":"1"}
|
| 16 |
|
|
|
|
| 10 |
"""
|
| 11 |
Sends a prompt to the LLM API and processes the streamed response.
|
| 12 |
"""
|
| 13 |
+
url = "https://8417-201-238-124-65.ngrok-free.app/api/llm-response"
|
| 14 |
headers = {"Content-Type": "application/json"}
|
| 15 |
payload = {"prompt": prompt,"extension":"1"}
|
| 16 |
|