Mattral commited on
Commit
320db69
1 Parent(s): 0b61086

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -137,8 +137,8 @@ def main():
137
 
138
  #Mappings (dictionaries) for the model and decoder. Asigns the directory or the DecoderType of the selected option.
139
  modelMapping = {
140
- "Single_Model": '../model/word-model',
141
- "Line_Model": '../model/line-model'
142
  }
143
 
144
  decoderMapping = {
@@ -228,4 +228,4 @@ def main():
228
  st.write("**Probability: **", str(inferedText[1][0]*100) + "%")
229
 
230
  if __name__ == "__main__":
231
- main()
 
137
 
138
  #Mappings (dictionaries) for the model and decoder. Asigns the directory or the DecoderType of the selected option.
139
  modelMapping = {
140
+ "Single_Model": 'model/word-model',
141
+ "Line_Model": 'model/line-model'
142
  }
143
 
144
  decoderMapping = {
 
228
  st.write("**Probability: **", str(inferedText[1][0]*100) + "%")
229
 
230
  if __name__ == "__main__":
231
+ main()