Skip to content

Commit

Permalink
fix: 불필요한 주석 제거
Browse files Browse the repository at this point in the history
웹 페이지 화면에서 기존의 주석 부분이 잠깐 표시되는 버그가 있었습니다.
  • Loading branch information
kooqooo authored Jul 16, 2024
1 parent ccc2a48 commit 261eb55
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions pages/3_gene_question.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,32 +238,6 @@
unsafe_allow_html=True,
)
# 질문 생성 #
'''
selected_job = st.session_state.selected_job
# rule-based question
with open(os.path.join(DATA_DIR, "rulebased_data.json"), "r", encoding="utf-8") as f:
data_dict = json.load(f)
if st.session_state.selected_job == "CV" or st.session_state.selected_job == "NLP" or st.session_state.selected_job == "RECSYS" or st.session_state.selected_job == "MLE":
st.session_state.selected_job = "AI"
st.session_state.rule_questions = list_extend_questions_based_on_keywords(data_dict, st.session_state.user_JD, st.session_state.selected_job)
print("### rule_questions ###")
print(*(st.session_state.rule_questions), sep='/n')
# semantic search question generation
st.session_state.faiss_result = faiss_inference(st.session_state.job_description)
st.session_state.faiss_question = reranker(st.session_state.job_description, st.session_state.faiss_result)
st.session_state.logger.info(f"save faiss question")
print("### faiss_question ###")
print(*(st.session_state.faiss_question), sep='/n')
### 다음 세션으로 값 넘기기
st.session_state.main_question = st.session_state.questions + st.session_state.rule_questions + st.session_state.faiss_question
st.session_state.project_question = st.session_state.questions
st.session_state.basic_question = st.session_state.rule_questions + st.session_state.faiss_question
'''
st.session_state.logger.info("end gene_question")

time.sleep(2)
Expand Down

0 comments on commit 261eb55

Please sign in to comment.