File size: 469 Bytes
c1b9d7d
 
 
 
 
 
c782bf6
04522f3
5045bb5
c782bf6
 
 
04522f3
 
 
 
 
 
 
 
c782bf6
 
d530085
 
c1b9d7d
 
 
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
27
28
import streamlit as st
import generator
from generator import *



col1, col2, col3 = st.columns(3)

i = 0
with col1 :
    st.write(' ')
with col2:
    text_ar = st.text_area("Enter text:")
    with st.write('Generating!'):
        if(st.button("Generate!")):
          text_ar = text_ar.replace("\n"," ")
          pairs = creator(text_ar)
          for pair in pairs:
              st.text(pair)
          st.success("Generated!")
with col3:
    st.write(' ')