Report-Parser / app.py
Sina-Haz
added debugging for space
96b87f8
raw
history blame
No virus
436 Bytes
import gradio as gr
from fns import *
# Define the Gradio interface
iface = gr.Interface(
fn=process_file, # Change to process_file later
inputs=gr.File(type='binary', label='Upload Report'),
outputs=gr.File(type='filepath', label='Processed Excel File'),
title='Report Processor',
description='Upload a report to process and download the resulting Excel file'
)
# Launch the interface
iface.launch(debug=True)