Kangarroar commited on
Commit
699b8ce
·
1 Parent(s): d4d84e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -13
app.py CHANGED
@@ -1,17 +1,15 @@
1
  import streamlit as st
2
- import tempfile
3
- st.title('DIFF-SVC Render')
4
 
5
- ###CKPT LOADER
6
- # File uploader
7
- ckpt = st.file_uploader("Choose your CKPT", type= 'ckpt')
8
 
9
- # File uploader
10
- config = st.file_uploader("Choose your config", type= 'yaml')
 
 
 
 
11
 
12
-
13
- # File uploader
14
- audio = st.file_uploader("Choose your audio", type=["wav", "mp3"])
15
-
16
- if st.button("Render audio"):
17
- print("done")
 
1
  import streamlit as st
 
 
2
 
3
+ def main():
4
+ st.set_page_config(page_title="Terms of Service Agreement", page_icon=":guardsman:", layout="wide")
5
+ st.title("Terms of Service Agreement")
6
 
7
+ agreed = st.checkbox("I agree to the terms of service")
8
+ username = st.text_input("Enter your username")
9
+
10
+ if st.button("Submit") and agreed and username.strip():
11
+ st.title("Congratulations!")
12
+ st.write(f"Welcome to our platform, {username}!")
13
 
14
+ if __name__ == "__main__":
15
+ main()