zohaibterminator commited on
Commit
bcdcc86
·
verified ·
1 Parent(s): 4228d26

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"http://127.0.0.1:8000/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)
 
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)