mohbay commited on
Commit
5eaeaa1
·
verified ·
1 Parent(s): 4436b4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -148,6 +148,7 @@ def predict_with_translation(text):
148
  }
149
  for idx, score in zip(top3_idx1_cpu, top3_scores1_cpu)
150
  ],
 
151
  }
152
 
153
  return results
@@ -232,6 +233,7 @@ def predict_dynamic(text):
232
  }
233
  for idx, score in zip(top3_idx1_cpu, top3_scores1_cpu)
234
  ],
 
235
  }
236
 
237
  return results
 
148
  }
149
  for idx, score in zip(top3_idx1_cpu, top3_scores1_cpu)
150
  ],
151
+ "arabic_text": arabic_text ,
152
  }
153
 
154
  return results
 
233
  }
234
  for idx, score in zip(top3_idx1_cpu, top3_scores1_cpu)
235
  ],
236
+ "arabic_text": text ,
237
  }
238
 
239
  return results