import gradio as gr import os def greet(name): return "Hello " + name + "!" demo = gr.Interface(fn=greet, inputs="text", outputs="text") if __name__ == "__main__": os.system("pwd") demo.launch()