Spaces:
Sleeping
Sleeping
Update run.py
Browse files
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, "
|
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()
|