janar commited on
Commit
e54130b
1 Parent(s): c224647

fix using the url link

Browse files
Files changed (1) hide show
  1. fe/app.py +1 -1
fe/app.py CHANGED
@@ -16,7 +16,7 @@ if ds:
16
  query = st.text_input("Enter your search query",
17
  placeholder="Ask your question")
18
  if query:
19
- res = requests.get(f"http://localhost:8080/v1/datasets/{ds}/answer?query={query}",
20
  timeout=5000 ).json()
21
  answer = res["answer"]
22
 
 
16
  query = st.text_input("Enter your search query",
17
  placeholder="Ask your question")
18
  if query:
19
+ res = requests.get(f"{BE}/v1/datasets/{ds}/answer?query={query}",
20
  timeout=5000 ).json()
21
  answer = res["answer"]
22