vakodiya commited on
Commit
912e932
1 Parent(s): 11ba2c3

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import os
3
+ from generate_answer import generate_answer
4
+
5
+
6
+ st.title("Bart Text Summariation Bot?")
7
+
8
+ input_text = st.text_area("Enter Text for Summarisation")
9
+ if st.button("""Enter >>>>> """):
10
+ if input_text:
11
+ response_text = generate_answer(input_text)
12
+ st.write(response_text)