Spaces:
Running
Running
Update ui.py
Browse files
ui.py
CHANGED
@@ -151,7 +151,15 @@ def APP():
|
|
151 |
projectname=st.text_input("projectname to look the results for ")
|
152 |
if st.button("lookup"):
|
153 |
|
154 |
-
response=requests.get(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
ie=response.json()
|
156 |
st.json(ie)
|
157 |
|
|
|
151 |
projectname=st.text_input("projectname to look the results for ")
|
152 |
if st.button("lookup"):
|
153 |
|
154 |
+
response=requests.get(
|
155 |
+
|
156 |
+
f"https://thexforce-combat-backend.hf.space/{st.session_state.get('username')}/{projectname}/individual/experiment",
|
157 |
+
headers={
|
158 |
+
|
159 |
+
"Content-Type":"application/json",
|
160 |
+
"Authorization":f"Bearer {tok}"
|
161 |
+
})
|
162 |
+
|
163 |
ie=response.json()
|
164 |
st.json(ie)
|
165 |
|