import gradio as gr from fastcore.all import * def greet(name): return f'{Path().ls()} {os.getcwd()}' @call_parse def main(): iface = gr.Interface(fn=greet, inputs="text", outputs="text") iface.launch()