cdactvm commited on
Commit
e502b44
·
verified ·
1 Parent(s): c9164ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -223,10 +223,10 @@ for word in textnum.split():
223
  lastscale = True
224
  elif word in units:
225
  lastunit = True
226
- if onnumber:
227
- curstring += repr(result + current)
228
 
229
- return curstring
230
 
231
  # Convert sentence to transcript using Soundex
232
  def sentence_to_transcript(sentence, word_to_code_map):
 
223
  lastscale = True
224
  elif word in units:
225
  lastunit = True
226
+ if onnumber:
227
+ curstring += repr(result + current)
228
 
229
+ return curstring
230
 
231
  # Convert sentence to transcript using Soundex
232
  def sentence_to_transcript(sentence, word_to_code_map):