[Python, Gradio.io] How to Output Downloadable file after processing?

Instead of

        with gr.Column():
            file_obj = gr.File(label="Input File"
# no any other arguments
)
            keyfile_name = gr.Interface(file_name_reader, inputs="file", outputs=None)
            input= file_obj

Just have

        with gr.Column():
            file_obj = gr.File(label="Input File")
            input= file_obj

1 Like