Spaces:
Runtime error
Runtime error
Commit
·
c4d34b8
1
Parent(s):
93dc268
Update app.py
Browse files
app.py
CHANGED
@@ -41,8 +41,11 @@ button = st.button('Click here to extract the word/phrase from the text with the
|
|
41 |
|
42 |
if not textbox:
|
43 |
st.markdown("## " + "Please write your text above!")
|
44 |
-
|
45 |
-
|
|
|
|
|
|
|
46 |
with st.spinner('In progress.......'):
|
47 |
|
48 |
def process_data(examples):
|
|
|
41 |
|
42 |
if not textbox:
|
43 |
st.markdown("## " + "Please write your text above!")
|
44 |
+
|
45 |
+
if button:
|
46 |
+
if not textbox:
|
47 |
+
st.markdown("#### " +"Please write something in the above textbox..")
|
48 |
+
else:
|
49 |
with st.spinner('In progress.......'):
|
50 |
|
51 |
def process_data(examples):
|