lcjln commited on
Commit
406ed1d
Β·
verified Β·
1 Parent(s): 959504a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -21
app.py CHANGED
@@ -10,25 +10,6 @@ import time
10
  # νŽ˜μ΄μ§€ ꡬ성을 'wide'둜 μ„€μ •ν•˜μ—¬ μ—¬λ°± μ΅œμ†Œν™”
11
  st.set_page_config(layout="wide")
12
 
13
- # 쀑앙 정렬을 μœ„ν•œ CSS μΆ”κ°€
14
- st.markdown(
15
- """
16
- <style>
17
- .block-container {
18
- display: flex;
19
- justify-content: center;
20
- align-items: center;
21
- padding: 1rem;
22
- }
23
- .stButton, .stDownloadButton {
24
- margin-left: auto;
25
- margin-right: auto;
26
- }
27
- </style>
28
- """,
29
- unsafe_allow_html=True
30
- )
31
-
32
  # Streamlit 제λͺ© 및 μ„€λͺ…
33
  st.title("VOD μ±„νŒ… 크둀러")
34
  st.write("VOD URL을 μž…λ ₯ν•˜κ³  μ±„νŒ… 데이터λ₯Ό ν¬λ‘€λ§ν•©λ‹ˆλ‹€.")
@@ -197,7 +178,7 @@ if st.session_state['chat_logs']:
197
  hovertemplate='%{x} - γ…‹γ…‹γ…‹γ…‹ μ±„νŒ… 개수: %{y}<extra></extra>'
198
  ))
199
 
200
- # κ·Έλž˜ν”„ λ ˆμ΄μ•„μ›ƒ μ„€μ • - κ·Έλž˜ν”„μ˜ 크기λ₯Ό μ‘°μ •
201
  fig.update_layout(
202
  title="λΆ„λ‹Ή μ±„νŒ… 및 γ…‹γ…‹γ…‹γ…‹ μ±„νŒ… 개수",
203
  height=600, # κ·Έλž˜ν”„μ˜ 높이λ₯Ό 킀움
@@ -212,4 +193,4 @@ if st.session_state['chat_logs']:
212
  )
213
 
214
  # κ·Έλž˜ν”„ 좜λ ₯
215
- st.plotly_chart(fig, use_container_width=True)
 
10
  # νŽ˜μ΄μ§€ ꡬ성을 'wide'둜 μ„€μ •ν•˜μ—¬ μ—¬λ°± μ΅œμ†Œν™”
11
  st.set_page_config(layout="wide")
12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  # Streamlit 제λͺ© 및 μ„€λͺ…
14
  st.title("VOD μ±„νŒ… 크둀러")
15
  st.write("VOD URL을 μž…λ ₯ν•˜κ³  μ±„νŒ… 데이터λ₯Ό ν¬λ‘€λ§ν•©λ‹ˆλ‹€.")
 
178
  hovertemplate='%{x} - γ…‹γ…‹γ…‹γ…‹ μ±„νŒ… 개수: %{y}<extra></extra>'
179
  ))
180
 
181
+ # κ·Έλž˜ν”„ λ ˆμ΄μ•„μ›ƒ μ„€μ •
182
  fig.update_layout(
183
  title="λΆ„λ‹Ή μ±„νŒ… 및 γ…‹γ…‹γ…‹γ…‹ μ±„νŒ… 개수",
184
  height=600, # κ·Έλž˜ν”„μ˜ 높이λ₯Ό 킀움
 
193
  )
194
 
195
  # κ·Έλž˜ν”„ 좜λ ₯
196
+ st.plotly_chart(fig, use_container_width=True) # ν™”λ©΄