Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,6 +13,25 @@ scope = ["https://spreadsheets.google.com/feeds", "https://www.googleapis.com/au
|
|
| 13 |
creds = ServiceAccountCredentials.from_json_keyfile_name("analog-marking-416002-e369840763fa.json", scope)
|
| 14 |
client = gspread.authorize(creds)
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
# Google Sheets 문서 열기
|
| 17 |
sheet = client.open("generation_streamlit_0302").sheet1
|
| 18 |
|
|
|
|
| 13 |
creds = ServiceAccountCredentials.from_json_keyfile_name("analog-marking-416002-e369840763fa.json", scope)
|
| 14 |
client = gspread.authorize(creds)
|
| 15 |
|
| 16 |
+
st.markdown("""
|
| 17 |
+
<style>
|
| 18 |
+
.description-box {
|
| 19 |
+
background-color: #f0f0f0; /* Light gray background */
|
| 20 |
+
padding: 10px;
|
| 21 |
+
border-radius: 10px;
|
| 22 |
+
margin-bottom: 20px; /* 조정된 여백 */
|
| 23 |
+
}
|
| 24 |
+
</style>
|
| 25 |
+
<div class="description-box">
|
| 26 |
+
<p> How to use </br>
|
| 27 |
+
1. 아래에서 '저연차 팀장', '중간연차 팀장', '고연차 팀장' 중 하나의 버튼을 클릭하여 조언을 제공할 팀장의 연차를 선택해주세요. </br>
|
| 28 |
+
2. 버튼을 클릭하면 선택된 연차의 고민이 랜덤으로 표시됩니다. </br>
|
| 29 |
+
3. 고민 내용 아래에 위치한 텍스트 입력 창에 조언을 작성한 후, '조언 제출하기' 버튼을 눌러주세요. </br>
|
| 30 |
+
</p>
|
| 31 |
+
</div>
|
| 32 |
+
""", unsafe_allow_html=True)
|
| 33 |
+
|
| 34 |
+
|
| 35 |
# Google Sheets 문서 열기
|
| 36 |
sheet = client.open("generation_streamlit_0302").sheet1
|
| 37 |
|