dayannex commited on
Commit
4944be6
·
1 Parent(s): 320fde3

update app

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -411,8 +411,9 @@ def procesar(texto,archivo):
411
  out=modelo.salida_texto2( ides,predicted)
412
 
413
  df_new[item] = modelo.unir_array(out)
414
- #return "", df, df.to_csv(sep='\t', encoding='utf-8',index=False)
415
- return "", df_new, df_new.to_csv(sep='\t', encoding='utf-8',index=False)
 
416
 
417
  demo = gr.Interface(fn=procesar,inputs=["text",gr.File()] , outputs=["text",gr.Dataframe(interactive=False),"text"])
418
  #
 
411
  out=modelo.salida_texto2( ides,predicted)
412
 
413
  df_new[item] = modelo.unir_array(out)
414
+
415
+ #return "", df, df.to_csv(sep='\t', encoding='utf-8',index=False)
416
+ return "", df_new, df_new.to_csv(sep='\t', encoding='utf-8',index=False)
417
 
418
  demo = gr.Interface(fn=procesar,inputs=["text",gr.File()] , outputs=["text",gr.Dataframe(interactive=False),"text"])
419
  #