Spaces:
Runtime error

File size: 223 Bytes
f4cd5ad
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr

print("Starting the Gradio app...")

def greet(name):
    return f"Hello, {name}!"

interface = gr.Interface(fn=greet, inputs="text", outputs="text")
interface.launch()

print("Gradio app is running.")