File size: 654 Bytes
c7dea47
 
26e2707
c7dea47
399f088
c7dea47
 
 
 
 
 
 
 
 
 
 
 
 
 
399f088
 
2b79d0e
2a11d72
37148d1
2b79d0e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# app.py
import streamlit as st
from utils import * 

st.header("AI Output: 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)

password = st.text_input('Enter your password', max_chars=50, type="password")  # changed st.text_input with type="password"
st.write(password)

st.header("Output:",divider='rainbow')

st.button("ChatGPT")