Spaces:
Runtime error
Runtime error
vinayakdev
commited on
Commit
•
5045bb5
1
Parent(s):
15291b0
add effects
Browse files
app.py
CHANGED
@@ -6,12 +6,14 @@ from generator import *
|
|
6 |
|
7 |
|
8 |
text_ar = st.text_area("Enter text:")
|
9 |
-
|
10 |
if(st.button("Generate!")):
|
11 |
text_ar = text_ar.replace("\n"," ")
|
|
|
12 |
pairs = creator(text_ar)
|
13 |
for pair in pairs:
|
14 |
st.text(pair)
|
|
|
15 |
|
16 |
|
17 |
|
|
|
6 |
|
7 |
|
8 |
text_ar = st.text_area("Enter text:")
|
9 |
+
i = 0
|
10 |
if(st.button("Generate!")):
|
11 |
text_ar = text_ar.replace("\n"," ")
|
12 |
+
st.spinner("Generating Q/A, please wait!")
|
13 |
pairs = creator(text_ar)
|
14 |
for pair in pairs:
|
15 |
st.text(pair)
|
16 |
+
st.snow()
|
17 |
|
18 |
|
19 |
|