MRamzan commited on
Commit
176a622
·
verified ·
1 Parent(s): 80bba40

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +2 -10
  2. app.py +9 -0
  3. requirements.txt +1 -0
README.md CHANGED
@@ -1,12 +1,4 @@
1
  ---
2
- title: Test3
3
- emoji: 📊
4
- colorFrom: blue
5
- colorTo: green
6
- sdk: gradio
7
- sdk_version: 4.22.0
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
  ---
2
+ license: mit
 
 
 
 
 
 
 
3
  ---
4
+ Readme
 
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from PIL import Image
3
+
4
+
5
+ def greet(name):
6
+ return "Hello " + name + "!!"
7
+
8
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
9
+ iface.launch()
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ pillow