File size: 311 Bytes
ca37406
 
 
 
 
 
 
 
 
 
 
 
 
b9d3c82
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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()