dla9944 commited on
Commit
07ab5af
1 Parent(s): 10d2892

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -21,15 +21,6 @@ button = st.button('Detect grammar mistakes:')
21
 
22
  # output
23
  st.subheader("Correct sentence: ")
24
- if example_1:
25
- with st.spinner('In progress.......'):
26
- output_text = model("I am write on AI")[0]["generated_text"]
27
- st.markdown("## "+output_text)
28
-
29
- if example_2:
30
- with st.spinner('In progress.......'):
31
- output_text = model("This sentence has, bads grammar mistake!")[0]["generated_text"]
32
- st.markdown("## "+output_text)
33
  if button:
34
  with st.spinner('In progress.......'):
35
  if textbox:
 
21
 
22
  # output
23
  st.subheader("Correct sentence: ")
 
 
 
 
 
 
 
 
 
24
  if button:
25
  with st.spinner('In progress.......'):
26
  if textbox: