import gradio as gr from tools import pipeline_dani theme = gr.themes.Base( primary_hue="neutral", secondary_hue="stone", neutral_hue="red", ) demo = gr.Interface(theme=theme, fn=pipeline_dani, title="Dani's pipeline", description="This is a pipeline that receives a string and returns it in uppercase.", inputs=gr.Textbox(lines=2, label="Enter a text:"), outputs="text" ) if __name__ == "__main__": demo.launch()