Summariser / app.py
sammoffitt's picture
Update app.py (#5)
37148d1
raw
history blame
629 Bytes
# app.py
import streamlit as st
from utils import *
st.header("Summarizer")
txt = st.text_area('Copy and paste your text here',
max_chars = 4000,
key="input_text")
st.write(txt)
topics = st.text_input('Choose topics, seperated by ,', '')
st.write(topics)
st.subheader("Word count")
word_count = st.slider("How long would you like your summary?", 10, 200)
st.write("Word count:", word_count)
txt = st.text_area('Copy and paste your password here',
max=chars = 1000)
st.header(divider='rainbow')
st.button("Submit")
st.button("ChatGPT")
# if st.button('submit'):