Spaces:
Sleeping
Sleeping
added code upload link
Browse files
app.py
CHANGED
@@ -62,7 +62,6 @@ def write_assessment_db_object(interview_data):
|
|
62 |
db_client: CosmosClient = st.session_state["cosmos_db"]
|
63 |
database = db_client.get_database_client("assessment-database")
|
64 |
container = database.get_container_client("assessments")
|
65 |
-
print(interview_data)
|
66 |
container.create_item(body=interview_data)
|
67 |
except Exception as e:
|
68 |
print(f"Fehler beim erstellen des Assessment DB items: {str(e)}")
|
@@ -185,6 +184,8 @@ st.button("Create appointment", key="create_button", disabled=False if st.sessio
|
|
185 |
|
186 |
if st.session_state["appointment_response"]:
|
187 |
st.success("The appointment was created correctly.")
|
188 |
-
st.write(os.environ.get('BASE_API')+"/meeting-consent?redirect="+st.session_state["appointment_response"]["zoom_meeting"]["start_url"].replace("https://us06web.zoom.us/
|
|
|
189 |
if st.session_state["assessment_toggle"]:
|
190 |
-
st.write("Here is the link for the assessment preparation: https://tensora.ai/workgenius/interview-preparation?assessment-id="+st.session_state["assessment_db_id"])
|
|
|
|
62 |
db_client: CosmosClient = st.session_state["cosmos_db"]
|
63 |
database = db_client.get_database_client("assessment-database")
|
64 |
container = database.get_container_client("assessments")
|
|
|
65 |
container.create_item(body=interview_data)
|
66 |
except Exception as e:
|
67 |
print(f"Fehler beim erstellen des Assessment DB items: {str(e)}")
|
|
|
184 |
|
185 |
if st.session_state["appointment_response"]:
|
186 |
st.success("The appointment was created correctly.")
|
187 |
+
st.write("Interviewer link: "+os.environ.get('BASE_API')+"/meeting-consent?redirect="+st.session_state["appointment_response"]["zoom_meeting"]["start_url"].replace("https://us06web.zoom.us/", ""))
|
188 |
+
st.write("Interviewee link: "+os.environ.get('BASE_API')+"/meeting-consent?redirect="+st.session_state["appointment_response"]["zoom_meeting"]["join_url"].replace("https://us06web.zoom.us/", ""))
|
189 |
if st.session_state["assessment_toggle"]:
|
190 |
+
st.write("Here is the link for the assessment preparation: https://tensora.ai/workgenius/interview-preparation?assessment-id="+st.session_state["assessment_db_id"])
|
191 |
+
st.write("Here is the link for the code upload: https://tensora.ai/workgenius/code-upload?assessment-id="+st.session_state["assessment_db_id"])
|