kinensake commited on
Commit
252a2d4
1 Parent(s): 954384c

Fix: en_core_web_sm

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -6,8 +6,8 @@ import pandas as pd
6
  import torch
7
  import math
8
  import re
9
- from multiprocessing import Process
10
- import os
11
 
12
  def set_seed(seed):
13
  torch.manual_seed(seed)
@@ -140,10 +140,10 @@ class GramformerDemo:
140
  st.markdown(f'#### Output:')
141
  st.write('')
142
  st.success(corrected_sentence)
143
- exp1 = st.beta_expander(label='Show highlights', expanded=True)
144
  with exp1:
145
  self.show_highlights(gf, input_text, corrected_sentence)
146
- exp2 = st.beta_expander(label='Show edits')
147
  with exp2:
148
  self.show_edits(gf, input_text, corrected_sentence)
149
 
 
6
  import torch
7
  import math
8
  import re
9
+
10
+ print("OK")
11
 
12
  def set_seed(seed):
13
  torch.manual_seed(seed)
 
140
  st.markdown(f'#### Output:')
141
  st.write('')
142
  st.success(corrected_sentence)
143
+ exp1 = st.expander(label='Show highlights', expanded=True)
144
  with exp1:
145
  self.show_highlights(gf, input_text, corrected_sentence)
146
+ exp2 = st.expander(label='Show edits')
147
  with exp2:
148
  self.show_edits(gf, input_text, corrected_sentence)
149