Jeremy commited on
Commit
aab31c1
·
1 Parent(s): eca28dc

Minimal app

Browse files
Files changed (1) hide show
  1. app.py +1 -19
app.py CHANGED
@@ -1,19 +1 @@
1
- """
2
- Live OFP Backend - HuggingFace Space
3
- Simple Gradio interface
4
- """
5
- import gradio as gr
6
-
7
- # Simple demo app
8
- def greet(name):
9
- return f"Hello {name}! This is the Live OFP Backend."
10
-
11
- demo = gr.Interface(
12
- fn=greet,
13
- inputs=gr.Textbox(label="Your name"),
14
- outputs=gr.Textbox(label="Greeting"),
15
- title="🎭 Live OFP Playground Backend"
16
- )
17
-
18
- if __name__ == "__main__":
19
- demo.launch()
 
1
+ import gradio as gr; gr.Textbox().then(lambda: None, None, None).launch()