vakodiya's picture
Create app.py
912e932 verified
raw
history blame
314 Bytes
import streamlit as st
import os
from generate_answer import generate_answer
st.title("Bart Text Summariation Bot?")
input_text = st.text_area("Enter Text for Summarisation")
if st.button("""Enter >>>>> """):
if input_text:
response_text = generate_answer(input_text)
st.write(response_text)