imenLa commited on
Commit
8d5e6a8
ยท
verified ยท
1 Parent(s): 00c4b3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -21,8 +21,8 @@ If you use or refer to this model, please cite :
21
  """
22
 
23
  examples = [
24
- ["ูŠู’ูƒูู†ู‘ู’ู„ููˆ ู…ูŽุดูŽุงุนูุฑู’ ู‚ู’ูˆููŠู‘ูŽุฉ ูŠู’ูƒูู†ู‘ู’ู„ููˆ ู…ูŽุดูŽุงุนูุฑู’ ู‚ู’ูˆููŠู‘ูŽุฉ"],
25
- ["ุฎููˆุฐู’ ุงู„ุนูู„ู’ู…ู’ ู…ูู†ู’ ุฑููˆุณู’ ุงู„ูู’ูƒูŽุงุฑูู†ู’"],
26
  ["ุณูŽุงุฑูŽู‚ู’ ูˆู’ูููŠ ูŠูุฏู‘ููˆ ุดูŽู…ู’ุนูŽุฉ"],
27
  ["ุตูŽุงู…ู’ ู†ู’ู‡ูŽุงุฑู’ ู…ูู†ู’ ุฑูู…ู’ุถูŽุงู†ู’ุŒ ู‚ูŽุงู„ู’ ุงู„ุนููŠุฏู’ ุขุดู’ ู…ูŽุงุฒูŽุงู„ููˆุŸ"],
28
  ["ุถูŽุญู’ูƒููˆู„ููˆ ุชู’ู…ูŽุฏู’ ุนู’ู„ูŽู‰ ุทููˆู„ููˆ"],
@@ -54,13 +54,13 @@ def generate_audio(inputs):
54
 
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")
64
 
65
- if __name__ == "__main__":
66
- demo.launch()
 
21
  """
22
 
23
  examples = [
24
+ [" ูŠู’ูƒูู†ู‘ู’ู„ููˆ ู…ูŽุดูŽุงุนูุฑู’ ู‚ู’ูˆููŠู‘ูŽุฉ"],
25
+ ["ููŽุฑู’ุฏูŽุฉ ูˆูู„ู’ู‚ูŽุงุชู’ ุฃูุฎู’ุชู’ู‡ูŽุง"],
26
  ["ุณูŽุงุฑูŽู‚ู’ ูˆู’ูููŠ ูŠูุฏู‘ููˆ ุดูŽู…ู’ุนูŽุฉ"],
27
  ["ุตูŽุงู…ู’ ู†ู’ู‡ูŽุงุฑู’ ู…ูู†ู’ ุฑูู…ู’ุถูŽุงู†ู’ุŒ ู‚ูŽุงู„ู’ ุงู„ุนููŠุฏู’ ุขุดู’ ู…ูŽุงุฒูŽุงู„ููˆุŸ"],
28
  ["ุถูŽุญู’ูƒููˆู„ููˆ ุชู’ู…ูŽุฏู’ ุนู’ู„ูŽู‰ ุทููˆู„ููˆ"],
 
54
 
55
  return sr, audio_data
56
 
57
+ 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").launch()
64
 
65
+ # if __name__ == "__main__":
66
+ # demo.launch()