Keane Moraes commited on
Commit
4268ace
·
1 Parent(s): 764b546

uploading files

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -1,11 +1,14 @@
1
  import streamlit as st
 
2
 
3
  import time
4
 
5
- st.title("Hello World")
6
- progbar = st.progress(0)
 
 
7
 
8
- for i in range(100):
9
- progbar.progress(i + 1)
10
- time.sleep(0.1)
11
-
 
1
  import streamlit as st
2
+ from .generation import Insights
3
 
4
  import time
5
 
6
+ st.title("Drop the first document")
7
+ file1 = st.file_uploader("Upload a file", type=["md", "txt"])
8
+ st.title("Drop the second document")
9
+ file2 = st.file_uploader("Upload a file", type=["md", "txt"])
10
 
11
+ st.title("Contents of the first file")
12
+ st.write(file1.read())
13
+ st.title("Contents of the second file")
14
+ st.write(file2.read())