import gspread import gradio as gr # Define a function that takes an input and returns some output def greet(name): return f"Hello, {name}!" # Create an interface for the function iface = gr.Interface(fn=greet, inputs="text", outputs="text", title="Greeting App") # Launch the interface iface.launch()