LiveOFP-Backend / app.py
Jeremy
Simplify app for testing
eca28dc
raw
history blame contribute delete
395 Bytes
"""
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()