BroTeoTM commited on
Commit
51ccf80
·
verified ·
1 Parent(s): 9d1db7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,4 +1,5 @@
1
  import streamlit as st
 
2
  # Set the app title
3
  st.title('My First Streamlit App')
4
  # Add a welcome message
@@ -11,3 +12,5 @@ st.write('Customized Message:', user_input)
11
  rs = open("test.txt","w")
12
  rs.write("Ca vay thoi")
13
  rs.close()
 
 
 
1
  import streamlit as st
2
+ from datasets import load_dataset
3
  # Set the app title
4
  st.title('My First Streamlit App')
5
  # Add a welcome message
 
12
  rs = open("test.txt","w")
13
  rs.write("Ca vay thoi")
14
  rs.close()
15
+ dataset = load_dataset("text", data_files="text.txt")
16
+ dataset.save_to_disk("m3u8")