Raiff1982 commited on
Commit
ab72a63
·
verified ·
1 Parent(s): 08e32ef

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -11
app.py CHANGED
@@ -1,12 +1,7 @@
1
- ---
2
- title: {{title}}
3
- emoji: {{emoji}}
4
- colorFrom: {{colorFrom}}
5
- colorTo: {{colorTo}}
6
- sdk: {{sdk}}
7
- sdk_version: "{{sdkVersion}}"
8
- app_file: app.py
9
- pinned: false
10
- ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
1
+ import gradio as gr
 
 
 
 
 
 
 
 
 
2
 
3
+ def greet(name):
4
+ return "Hello " + name + "!!"
5
+
6
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+ demo.launch()