jua76 commited on
Commit
93bc8c0
Β·
1 Parent(s): f33f89c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -19,9 +19,12 @@ st.caption("caption κΈ°λŠ₯은 μΈμš©κ΅¬λ‚˜, 각주등을 넣을 λ•Œ μ‚¬μš©ν•˜κΈ°
19
 
20
  name = st.text_input("text_input의 κΈ°λŠ₯을 μ‚¬μš©ν•˜μ—¬, μ‚¬λžŒμ˜ 이름, μ—°λ½μ²˜ λ“± 각쒅 μ‚¬μš©μž μž…λ ₯을 λ°›μ•„λ³Ό 수 μžˆμŠ΅λ‹ˆλ‹€.",placeholder="홍길동")
21
 
22
-
 
 
23
  if st.button('μž…λ ₯'):
24
  st.write(f'{name}λ‹˜, ν™˜μ˜ν•©λ‹ˆλ‹€.')
 
25
 
26
  # input widget μ‹€μŠ΅
27
  uploaded_file = st.file_uploader("Choose a csv file")
@@ -34,8 +37,7 @@ option = st.selectbox(
34
  ('Email', 'Home phone', 'Mobile phone'))
35
 
36
  st.write('You selected:', option)
37
-
38
-
39
 
40
  with st.sidebar:
41
  add_selectbox = st.selectbox(
 
19
 
20
  name = st.text_input("text_input의 κΈ°λŠ₯을 μ‚¬μš©ν•˜μ—¬, μ‚¬λžŒμ˜ 이름, μ—°λ½μ²˜ λ“± 각쒅 μ‚¬μš©μž μž…λ ₯을 λ°›μ•„λ³Ό 수 μžˆμŠ΅λ‹ˆλ‹€.",placeholder="홍길동")
21
 
22
+ with open('new_file.txt', 'a') as f:
23
+ f.write('μ‹œμž‘')
24
+
25
  if st.button('μž…λ ₯'):
26
  st.write(f'{name}λ‹˜, ν™˜μ˜ν•©λ‹ˆλ‹€.')
27
+ f.write(f'{name}λ‹˜, ν™˜μ˜ν•©λ‹ˆλ‹€.')
28
 
29
  # input widget μ‹€μŠ΅
30
  uploaded_file = st.file_uploader("Choose a csv file")
 
37
  ('Email', 'Home phone', 'Mobile phone'))
38
 
39
  st.write('You selected:', option)
40
+
 
41
 
42
  with st.sidebar:
43
  add_selectbox = st.selectbox(