space_xml_excel / app.py
bobpeulen's picture
Update app.py
f57bf28
raw
history blame
855 Bytes
import gradio as gr
import pandas as pd
import numpy as np
def full_function(xml_file):
output_text = "yes"
return output_text
desc = "Upload XML file, convert to .csv file, and analyze transactions"
with gr.Blocks() as demo:
xml_file = gr.File(label = "Upload XML file here")
# input_employees = gr.CheckboxGroup(["Transfer Solutions", "Ordina", "PwC", "Quistor", "Full Orbit", "Accenture", "Atos", "AMIS"], label="Oracle Partners", info="Who to judge?")
# input_question = gr.Text(label="What activity is the Oracle Partner performing?")
# additional_info = gr.Text(label="Additional information (optional)")
output_text = gr.Text(label="R")
submit_btn = gr.Button("Run GenAI - Cohere in Oracle Cloud")
gr.Interface(fn=full_function, inputs=xml_file, outputs=output_text, title=desc).launch(share=True)