hysts HF Staff commited on
Commit
855e072
·
1 Parent(s): 0c64c12
Files changed (2) hide show
  1. README.md +2 -1
  2. app.py +4 -1
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: mit
3
- title: Base Space
4
  emoji: ⚡
5
  colorFrom: red
6
  colorTo: purple
@@ -9,6 +9,7 @@ sdk_version: 3.40.1
9
  python_version: 3.10.11
10
  app_file: app.py
11
  duplicated_from: hysts-debug/base-space
 
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
  license: mit
3
+ title: audio share
4
  emoji: ⚡
5
  colorFrom: red
6
  colorTo: purple
 
9
  python_version: 3.10.11
10
  app_file: app.py
11
  duplicated_from: hysts-debug/base-space
12
+ pinned: false
13
  ---
14
 
15
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -3,5 +3,8 @@
3
  import gradio as gr
4
 
5
  with gr.Blocks() as demo:
6
- pass
 
 
 
7
  demo.queue().launch()
 
3
  import gradio as gr
4
 
5
  with gr.Blocks() as demo:
6
+ audio = gr.Audio()
7
+ btn = gr.Button()
8
+ audio2 = gr.Audio()
9
+ btn.click(fn=lambda x: x, inputs=audio, outputs=audio2)
10
  demo.queue().launch()