Spaces:
Sleeping
Sleeping
Validate audio download file
Browse files- .gitignore +1 -0
- 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
|
| 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(
|