Catherine ZHOU commited on
Commit
26107d6
1 Parent(s): f752f16

initial commit

Browse files
Files changed (3) hide show
  1. README.md +3 -1
  2. app.py +7 -0
  3. requirements.txt +1 -0
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  title: TestTrial
3
- emoji: 🌍
4
  colorFrom: yellow
5
  colorTo: green
6
  sdk: gradio
@@ -9,4 +9,6 @@ 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
  title: TestTrial
3
+ emoji: 🦁
4
  colorFrom: yellow
5
  colorTo: green
6
  sdk: gradio
 
9
  pinned: false
10
  ---
11
 
12
+ # Learning space for Huggingface and Gradio
13
+
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return "Hello " + name + "!!"
5
+
6
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+ iface.launch()
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ gradio