mrestrepo commited on
Commit
33c11bc
·
1 Parent(s): 5c9a4b5

Validate audio download file

Browse files
Files changed (2) hide show
  1. .gitignore +1 -0
  2. app.py +1 -1
.gitignore CHANGED
@@ -4,3 +4,4 @@ output.wav
4
  venv/
5
  __pycache__/
6
 
 
 
4
  venv/
5
  __pycache__/
6
 
7
+ audios/
app.py CHANGED
@@ -62,7 +62,7 @@ async def generate_audio(text_input: str, creator: str) -> str:
62
  except Exception as e:
63
  print(e)
64
 
65
- return signed_url_audio
66
 
67
 
68
  app = gr.Interface(
 
62
  except Exception as e:
63
  print(e)
64
 
65
+ return gr.Audio(value=source_audio_file_name)
66
 
67
 
68
  app = gr.Interface(