Ken Lin
commited on
Commit
•
6d9ad56
1
Parent(s):
6d9b481
app
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
4 |
-
title = "Musicalization System of Painting"
|
5 |
description = "Pui Ching Middle School: Musicalization System of Painting Demo"
|
6 |
|
7 |
def greet(name):
|
@@ -15,10 +14,4 @@ iface = gr.Interface(
|
|
15 |
inputs=gr.Image(),
|
16 |
outputs=gr.Audio())
|
17 |
|
18 |
-
=======
|
19 |
-
def greet(name):
|
20 |
-
return "Hello " + name + "!!"
|
21 |
-
|
22 |
-
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
23 |
-
>>>>>>> 6403d22b60fe5edc7d576d9c8a7fe66fcaa12249
|
24 |
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
title = "Musicalization System of Painting Demo"
|
|
|
4 |
description = "Pui Ching Middle School: Musicalization System of Painting Demo"
|
5 |
|
6 |
def greet(name):
|
|
|
14 |
inputs=gr.Image(),
|
15 |
outputs=gr.Audio())
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
iface.launch()
|