Spaces:
Sleeping
Sleeping
Sync CI Space with PR 14.
Browse files- README.md +12 -5
- app.py +12 -0
- requirements.txt +2 -0
README.md
CHANGED
@@ -1,10 +1,17 @@
|
|
1 |
---
|
2 |
-
title: Test
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
|
|
7 |
pinned: false
|
|
|
|
|
|
|
|
|
|
|
8 |
---
|
9 |
|
10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: 'Test (ephemeral #14) (ephemeral #14)'
|
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 |
+
synced_sha: efb9a6842709ec35b49854fa434e040443a3f568
|
15 |
---
|
16 |
|
17 |
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
|