Spaces:
Build error
Build error
Keane Moraes
commited on
Commit
·
4268ace
1
Parent(s):
764b546
uploading files
Browse files
app.py
CHANGED
@@ -1,11 +1,14 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
|
3 |
import time
|
4 |
|
5 |
-
st.title("
|
6 |
-
|
|
|
|
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
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())
|