Update app.py
Browse files
app.py
CHANGED
|
@@ -17,15 +17,7 @@ Authors :
|
|
| 17 |
|
| 18 |
More in-depth details and insights are available in a released preprint. Please find the paper [here](paper_link).
|
| 19 |
If you use or refer to this model, please cite :
|
| 20 |
-
|
| 21 |
-
# @misc{abdallah2023leveraging,
|
| 22 |
-
# title={Leveraging Data Collection and Unsupervised Learning for Code-switched Tunisian Arabic Automatic Speech Recognition},
|
| 23 |
-
# author={Ahmed Amine Ben Abdallah and Ata Kabboudi and Amir Kanoun and Salah Zaiem},
|
| 24 |
-
# year={2023},
|
| 25 |
-
# eprint={2309.11327},
|
| 26 |
-
# archivePrefix={arXiv},
|
| 27 |
-
# primaryClass={eess.AS}
|
| 28 |
-
# }
|
| 29 |
"""
|
| 30 |
|
| 31 |
examples = [
|
|
@@ -63,9 +55,9 @@ def generate_audio(inputs):
|
|
| 63 |
return sr, audio_data
|
| 64 |
|
| 65 |
demo = gr.Interface(
|
| 66 |
-
generate_audio,
|
| 67 |
title = title,
|
| 68 |
description = description,
|
|
|
|
| 69 |
inputs= gr.Text(label="Input Text"),
|
| 70 |
examples = examples,
|
| 71 |
outputs ="audio")
|
|
|
|
| 17 |
|
| 18 |
More in-depth details and insights are available in a released preprint. Please find the paper [here](paper_link).
|
| 19 |
If you use or refer to this model, please cite :
|
| 20 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
"""
|
| 22 |
|
| 23 |
examples = [
|
|
|
|
| 55 |
return sr, audio_data
|
| 56 |
|
| 57 |
demo = gr.Interface(
|
|
|
|
| 58 |
title = title,
|
| 59 |
description = description,
|
| 60 |
+
fn=generate_audio,
|
| 61 |
inputs= gr.Text(label="Input Text"),
|
| 62 |
examples = examples,
|
| 63 |
outputs ="audio")
|