Spaces:
Sleeping
Sleeping
inLine-XJY
commited on
Commit
•
b85e74a
1
Parent(s):
b82ea2f
Update app.py
Browse files
app.py
CHANGED
@@ -4,10 +4,7 @@ import gradio
|
|
4 |
|
5 |
|
6 |
def my_inference_function(name):
|
7 |
-
|
8 |
-
with open("./word.txt",'r') as f:
|
9 |
-
prompts = f.readlines()
|
10 |
-
return "Hello " + prompts[0] + "!"
|
11 |
|
12 |
gradio_interface = gradio.Interface(
|
13 |
fn = my_inference_function,
|
|
|
4 |
|
5 |
|
6 |
def my_inference_function(name):
|
7 |
+
return "test.wav"
|
|
|
|
|
|
|
8 |
|
9 |
gradio_interface = gradio.Interface(
|
10 |
fn = my_inference_function,
|