Upload app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def get_response(user_input):
|
|
24 |
Returns:
|
25 |
res (string): Response from the LLM.
|
26 |
'''
|
27 |
-
url = f"
|
28 |
headers = {"Content-Type": "application/x-www-form-urlencoded"}
|
29 |
data = {"user_input": user_input}
|
30 |
response = requests.post(url, headers=headers, data=data)
|
|
|
24 |
Returns:
|
25 |
res (string): Response from the LLM.
|
26 |
'''
|
27 |
+
url = f"https://whole-icons-hammer.loca.lt/infer/{user_id}"
|
28 |
headers = {"Content-Type": "application/x-www-form-urlencoded"}
|
29 |
data = {"user_input": user_input}
|
30 |
response = requests.post(url, headers=headers, data=data)
|