File size: 308 Bytes
c1b9d7d
 
 
 
 
 
 
 
5045bb5
c1b9d7d
3b0063b
5045bb5
3b0063b
 
 
5045bb5
d530085
 
c1b9d7d
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import streamlit as st
import generator
from generator import *




text_ar = st.text_area("Enter text:")
i = 0
if(st.button("Generate!")):
  text_ar = text_ar.replace("\n"," ")
  st.spinner("Generating Q/A, please wait!")
  pairs = creator(text_ar)
  for pair in pairs:
    st.text(pair)
  st.snow()