import gradio as gr from jgtutils.jgtpov import get_higher_tf_by_level def gettf(timeframe): return get_higher_tf_by_level(timeframe) demo = gr.Interface(fn=gettf, inputs="text", outputs="text") demo.launch()