ozzyable commited on
Commit
d1efe49
1 Parent(s): 9f35be2

Error in url

Browse files
Files changed (2) hide show
  1. .idea/misc.xml +3 -0
  2. app.py +1 -1
.idea/misc.xml CHANGED
@@ -1,4 +1,7 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <project version="4">
 
 
 
3
  <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12" project-jdk-type="Python SDK" />
4
  </project>
 
1
  <?xml version="1.0" encoding="UTF-8"?>
2
  <project version="4">
3
+ <component name="Black">
4
+ <option name="sdkName" value="Python 3.12" />
5
+ </component>
6
  <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12" project-jdk-type="Python SDK" />
7
  </project>
app.py CHANGED
@@ -72,7 +72,7 @@ def process_transactions(transactions):
72
  time.sleep(2) # Adjust interval as needed
73
 
74
  # Once status changes, retrieve and display the result
75
- result_url = f"{base_url}results/{st.session_state.job_id}"
76
  result_response = requests.get(result_url, headers=headers)
77
  result_response.raise_for_status()
78
  result_data = result_response.json()
 
72
  time.sleep(2) # Adjust interval as needed
73
 
74
  # Once status changes, retrieve and display the result
75
+ result_url = f"{base_url}{st.session_state.job_id}"
76
  result_response = requests.get(result_url, headers=headers)
77
  result_response.raise_for_status()
78
  result_data = result_response.json()