dawood HF staff commited on
Commit
48e4267
1 Parent(s): 4e9135a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,11 +11,11 @@ def test_mic(audio):
11
  return UnifiedAudio(value=audio)
12
 
13
  with gr.Blocks() as demo:
14
- # Example without Image
15
  mic = UnifiedAudio(sources="microphone")
16
  mic.change(test_mic, mic, mic)
17
 
18
- # Example with Image
19
  mic_image = UnifiedAudio(sources="microphone", image="freeman.jpg")
20
  mic_image.change(test_mic, mic_image, mic_image)
21
 
 
11
  return UnifiedAudio(value=audio)
12
 
13
  with gr.Blocks() as demo:
14
+ gr.Markdown("## Example without Image")
15
  mic = UnifiedAudio(sources="microphone")
16
  mic.change(test_mic, mic, mic)
17
 
18
+ gr.Markdown("## Example with Image")
19
  mic_image = UnifiedAudio(sources="microphone", image="freeman.jpg")
20
  mic_image.change(test_mic, mic_image, mic_image)
21