import gradio as gr | |
from processing import process_file | |
iface = gr.Interface( | |
fn=process_file, | |
inputs=gr.File(label="Upload your file"), | |
outputs=[gr.Textbox(label="Status"), gr.File(label="Download the file")], | |
live=False | |
) | |
iface.launch(title="Process") |