Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -130,8 +130,8 @@ if st.session_state.generated_result:
|
|
130 |
# 데이터프레임 생성
|
131 |
df = pd.DataFrame(st.session_state.similar_sentences, columns=["Similar Sentences"])
|
132 |
|
133 |
-
# CSV
|
134 |
-
csv = df.to_csv(index=False).encode('utf-8-sig')
|
135 |
|
136 |
# 다운로드 버튼 생성
|
137 |
st.download_button(
|
|
|
130 |
# 데이터프레임 생성
|
131 |
df = pd.DataFrame(st.session_state.similar_sentences, columns=["Similar Sentences"])
|
132 |
|
133 |
+
# UTF-8-SIG (BOM) 인코딩으로 CSV 파일 변환
|
134 |
+
csv = df.to_csv(index=False, encoding='utf-8-sig').encode('utf-8-sig')
|
135 |
|
136 |
# 다운로드 버튼 생성
|
137 |
st.download_button(
|