inLine-XJY commited on
Commit
b85e74a
1 Parent(s): b82ea2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -4,10 +4,7 @@ import gradio
4
 
5
 
6
  def my_inference_function(name):
7
- prompts = ''
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,