aliabid94 HF staff commited on
Commit
22cfce0
1 Parent(s): 7383976

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -5
run.py CHANGED
@@ -5,12 +5,8 @@ import numpy as np
5
  import gradio as gr
6
 
7
  def iden(x):
8
- print(x)
9
- if x:
10
- sr, y = x
11
- print(np.max(y))
12
  return x
13
 
14
- demo = gr.Interface(iden, "microphone", "audio")
15
 
16
  demo.launch()
 
5
  import gradio as gr
6
 
7
  def iden(x):
 
 
 
 
8
  return x
9
 
10
+ demo = gr.Interface(iden, "image", "image")
11
 
12
  demo.launch()