File size: 395 Bytes
17b7415
 
eca28dc
17b7415
 
 
eca28dc
 
 
17b7415
eca28dc
 
 
 
 
 
17b7415
eca28dc
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""
Live OFP Backend - HuggingFace Space
Simple Gradio interface
"""
import gradio as gr

# Simple demo app
def greet(name):
    return f"Hello {name}! This is the Live OFP Backend."

demo = gr.Interface(
    fn=greet,
    inputs=gr.Textbox(label="Your name"),
    outputs=gr.Textbox(label="Greeting"),
    title="🎭 Live OFP Playground Backend"
)

if __name__ == "__main__":
    demo.launch()