lcjln commited on
Commit
d4389b7
ยท
verified ยท
1 Parent(s): 118f148

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -16
app.py CHANGED
@@ -7,25 +7,13 @@ import re
7
  import requests
8
  import time
9
 
 
 
 
10
  # Streamlit ์ œ๋ชฉ ๋ฐ ์„ค๋ช…
11
  st.title("VOD ์ฑ„ํŒ… ํฌ๋กค๋Ÿฌ")
12
  st.write("VOD URL์„ ์ž…๋ ฅํ•˜๊ณ  ์ฑ„ํŒ… ๋ฐ์ดํ„ฐ๋ฅผ ํฌ๋กค๋งํ•ฉ๋‹ˆ๋‹ค.")
13
 
14
- # ํŽ˜์ด์ง€ ์ „์ฒด์˜ ์ขŒ์šฐ ์—ฌ๋ฐฑ์„ ์ œ๊ฑฐํ•˜์—ฌ ๊ทธ๋ž˜ํ”„๋ฅผ ์ตœ๋Œ€ํ•œ ํฌ๊ฒŒ ์ถœ๋ ฅ
15
- st.markdown(
16
- """
17
- <style>
18
- .main .block-container {
19
- padding-left: 0rem;
20
- padding-right: 0rem;
21
- padding-top: 1rem;
22
- padding-bottom: 1rem;
23
- }
24
- </style>
25
- """,
26
- unsafe_allow_html=True
27
- )
28
-
29
  # URL ์ž…๋ ฅ ๋ฐ›๊ธฐ
30
  vod_url = st.text_input("VOD URL ์ž…๋ ฅ")
31
 
@@ -204,4 +192,4 @@ if st.session_state['chat_logs']:
204
  )
205
 
206
  # ๊ทธ๋ž˜ํ”„ ์ถœ๋ ฅ
207
- st.plotly_chart(fig, use_container_width=True) # ํ™”๋ฉด ๋„ˆ๋น„์— ๋งž๊ฒŒ ์ถœ๋ ฅ
 
7
  import requests
8
  import time
9
 
10
+ # ํŽ˜์ด์ง€ ๊ตฌ์„ฑ์„ 'wide'๋กœ ์„ค์ •ํ•˜์—ฌ ์—ฌ๋ฐฑ ์ตœ์†Œํ™”
11
+ st.set_page_config(layout="wide")
12
+
13
  # Streamlit ์ œ๋ชฉ ๋ฐ ์„ค๋ช…
14
  st.title("VOD ์ฑ„ํŒ… ํฌ๋กค๋Ÿฌ")
15
  st.write("VOD URL์„ ์ž…๋ ฅํ•˜๊ณ  ์ฑ„ํŒ… ๋ฐ์ดํ„ฐ๋ฅผ ํฌ๋กค๋งํ•ฉ๋‹ˆ๋‹ค.")
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  # URL ์ž…๋ ฅ ๋ฐ›๊ธฐ
18
  vod_url = st.text_input("VOD URL ์ž…๋ ฅ")
19
 
 
192
  )
193
 
194
  # ๊ทธ๋ž˜ํ”„ ์ถœ๋ ฅ
195
+ st.plotly_chart(fig, use_container_width=True) # ํ™”๋ฉด