Spaces:
Sleeping
Sleeping
app modified output idioma
Browse files
app.py
CHANGED
@@ -564,7 +564,7 @@ def procesar(texto,archivo, etiquetas):
|
|
564 |
#return "", df, df.to_csv(sep='\t', encoding='utf-8',index=False)
|
565 |
return "", df_new, df_new.to_csv(sep='\t', encoding='utf-8',index=False)
|
566 |
|
567 |
-
demo = gr.Interface(fn=procesar,inputs=[gr.File(), "checkbox"] , outputs=["text",
|
568 |
#
|
569 |
demo.launch(share=True)
|
570 |
|
|
|
564 |
#return "", df, df.to_csv(sep='\t', encoding='utf-8',index=False)
|
565 |
return "", df_new, df_new.to_csv(sep='\t', encoding='utf-8',index=False)
|
566 |
|
567 |
+
demo = gr.Interface(fn=procesar,inputs=["text",gr.File(), "checkbox"] , outputs=["text",gr.Dataframe(label="Dataframe procesado",interactive=False),"text"])
|
568 |
#
|
569 |
demo.launch(share=True)
|
570 |
|