Spaces:
Sleeping
Sleeping
update constants
Browse files
app.py
CHANGED
@@ -10,7 +10,6 @@ from typing import Union
|
|
10 |
|
11 |
pp = pprint.PrettyPrinter(indent=2)
|
12 |
|
13 |
-
os.environ["address"] = "http://34.79.83.149:8080"
|
14 |
|
15 |
st.set_page_config(page_title="Gaia Search 🌖🌏", layout="wide")
|
16 |
|
@@ -133,7 +132,7 @@ def scisearch(query, corpus, num_results=10):
|
|
133 |
address = (
|
134 |
os.environ.get("address")
|
135 |
if corpus != "roots"
|
136 |
-
else
|
137 |
)
|
138 |
|
139 |
output = requests.post(
|
|
|
10 |
|
11 |
pp = pprint.PrettyPrinter(indent=2)
|
12 |
|
|
|
13 |
|
14 |
st.set_page_config(page_title="Gaia Search 🌖🌏", layout="wide")
|
15 |
|
|
|
132 |
address = (
|
133 |
os.environ.get("address")
|
134 |
if corpus != "roots"
|
135 |
+
else os.environ.get("address_roots")
|
136 |
)
|
137 |
|
138 |
output = requests.post(
|