Junaidb commited on
Commit
fcfbdc8
·
verified ·
1 Parent(s): 81fcd16

Update ui.py

Browse files
Files changed (1) hide show
  1. ui.py +9 -1
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(f"https://thexforce-combat-backend.hf.space/{st.session_state.get("username")}/{projectname}/individual/experiment")
 
 
 
 
 
 
 
 
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