grimzaeye commited on
Commit
ebf5ef9
ยท
1 Parent(s): e696c43

update app.py & add requirement.txt

Browse files
Files changed (2) hide show
  1. app.py +5 -0
  2. requirement.txt +2 -0
app.py CHANGED
@@ -1,8 +1,13 @@
1
  import streamlit as st
 
2
 
3
  x = st.slider('Select a value')
4
  st.write(x, 'squared is', x * x)
5
 
 
 
 
 
6
  # main.py์— ๋‹ค์Œ ์ฝ”๋“œ๋ฅผ ์ž…๋ ฅํ•˜๊ณ  ์ €์žฅํ•˜์‹ญ์‹œ์˜ค.
7
  st.header("this is the markdown")
8
  st.markdown("this is the header")
 
1
  import streamlit as st
2
+ import wget
3
 
4
  x = st.slider('Select a value')
5
  st.write(x, 'squared is', x * x)
6
 
7
+ wget.download("https://github.com/chdaesung/sogang/raw/main/2024/genAI/P9-streamlit/autoai.mp4")
8
+ wget.download("https://github.com/chdaesung/sogang/raw/main/2024/genAI/P9-streamlit/news.mp3")
9
+ wget.download("https://raw.githubusercontent.com/chdaesung/sogang/main/2024/genAI/P9-streamlit/Streamlit-logo-primary-colormark-darktext.png")
10
+
11
  # main.py์— ๋‹ค์Œ ์ฝ”๋“œ๋ฅผ ์ž…๋ ฅํ•˜๊ณ  ์ €์žฅํ•˜์‹ญ์‹œ์˜ค.
12
  st.header("this is the markdown")
13
  st.markdown("this is the header")
requirement.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ transformer
2
+ torch