text-matching / app.py
Keane Moraes
uploading files
4268ace
raw
history blame
392 Bytes
import streamlit as st
from .generation import Insights
import time
st.title("Drop the first document")
file1 = st.file_uploader("Upload a file", type=["md", "txt"])
st.title("Drop the second document")
file2 = st.file_uploader("Upload a file", type=["md", "txt"])
st.title("Contents of the first file")
st.write(file1.read())
st.title("Contents of the second file")
st.write(file2.read())