Spaces:
Running
Running
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://3c2c-70-167-32-130.ngrok-free.app/api/llm-response"
|
14 |
headers = {"Content-Type": "application/json"}
|
15 |
payload = {"prompt": prompt,"extension":"1"}
|
16 |
|