not-lain commited on
Commit
3ecd48f
β€’
1 Parent(s): 1fa83ef

Sync CI Space with PR 13.

Browse files
Files changed (3) hide show
  1. README.md +11 -5
  2. app.py +12 -0
  3. requirements.txt +2 -0
README.md CHANGED
@@ -1,10 +1,16 @@
1
  ---
2
- title: Test Ci Pr 13
3
- emoji: ⚑
4
- colorFrom: pink
5
- colorTo: green
6
- sdk: docker
 
 
7
  pinned: false
 
 
 
 
8
  ---
9
 
10
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: Test
3
+ sdk: gradio
4
+ sdk_version: 4.26.0
5
+ app_file: app.py
6
+ emoji: πŸ†
7
+ colorFrom: yellow
8
+ colorTo: blue
9
  pinned: false
10
+ space_ci:
11
+ trusted_authors: []
12
+ secrets: []
13
+ hardware: cpu-basic
14
  ---
15
 
16
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ from gradio_space_ci import enable_space_ci
4
+
5
+ enable_space_ci()
6
+
7
+
8
+ def talk(text):
9
+ return "the user said "+ text
10
+
11
+ demo = gr.Interface(fn=talk, inputs="text", outputs="label")
12
+ demo.launch()
requirements.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+
2
+ gradio-space-ci @ git+https://huggingface.co/spaces/not-lain/gradio-space-ci