ns-devel commited on
Commit
c3022f4
·
1 Parent(s): d9b7749

Added response details

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def main():
21
  API_URL = f"{os.environ['SERVER_URL']}/api/get-mf-data/?query={prompt}"
22
  response = requests.get(API_URL)
23
  st.write(response.status_code)
24
- st.write(response.json())
25
  if response.status_code != 200:
26
  st.error("Error fetching data from the server.")
27
  st.stop()
 
21
  API_URL = f"{os.environ['SERVER_URL']}/api/get-mf-data/?query={prompt}"
22
  response = requests.get(API_URL)
23
  st.write(response.status_code)
24
+ st.write(response.__dict__)
25
  if response.status_code != 200:
26
  st.error("Error fetching data from the server.")
27
  st.stop()