Spaces:
Runtime error
Runtime error
Commit
·
f9b59e2
1
Parent(s):
68caa28
Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
[.272, .534, .131]])
|
8 |
-
sepia_img = input_img.dot(sepia_filter.T)
|
9 |
-
sepia_img /= sepia_img.max()
|
10 |
-
return sepia_img
|
11 |
-
|
12 |
-
iface = gr.Interface(sepia, gr.inputs.Image(shape = (100,100)),"image" )
|
13 |
-
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
+
def Hello_World(name):
|
3 |
+
return "Hello..." + name + "!!!!"
|
4 |
+
Hello_World("little coder")
|
5 |
+
interface = gr.Interface(fn = Hello_World, inputs = 'text',outputs = "text")
|
6 |
+
interface.launch('share = true')
|
|
|
|
|
|
|
|
|
|
|
|
|
|