ffreemt commited on
Commit
036ddd2
1 Parent(s): 0b64c81

Update app_mlbee.py

Browse files
Files changed (2) hide show
  1. app_mlbee.py +5 -1
  2. requirements.txt +1 -1
app_mlbee.py CHANGED
@@ -136,7 +136,11 @@ _ = dict(
136
  )
137
  if "ns" not in state:
138
  state.ns = SimpleNamespace(**_)
139
- state.ns.list = [*_]
 
 
 
 
140
 
141
 
142
  def main():
 
136
  )
137
  if "ns" not in state:
138
  state.ns = SimpleNamespace(**_)
139
+
140
+ try:
141
+ state.ns.list = [*_]
142
+ except Exception as exc:
143
+ logger.warning(exc)
144
 
145
 
146
  def main():
requirements.txt CHANGED
@@ -5,7 +5,7 @@ torch==1.11.0
5
  # transformers==4.18.0
6
  sentence-transformers
7
  pysbd
8
- fasttext
9
  fastlid
10
  scipy
11
 
 
5
  # transformers==4.18.0
6
  sentence-transformers
7
  pysbd
8
+ fasttext-wheel
9
  fastlid
10
  scipy
11