osanseviero HF staff commited on
Commit
a0ece8c
1 Parent(s): cab646b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -113,6 +113,7 @@ with block:
113
  ],
114
  outputs="audio",
115
  examples=examples,
 
116
  )
117
  with gr.TabItem("Record your voice"):
118
  iface = gr.Interface(
@@ -123,7 +124,8 @@ with block:
123
  gr.inputs.Audio(source="microphone", label="Record yourself reading something out loud (audio 2)", type="numpy"),
124
  gr.inputs.Audio(source="microphone", label="Record yourself reading something out loud (audio 3)", type="numpy"),
125
  ],
126
- outputs="audio"
 
127
  )
128
 
129
  gr.Markdown("This demo shows the ultra fast option in the TorToiSe system. For more info check the <a href='https://github.com/neonbjb/tortoise-tts' target='_blank'>Repository</a>.",)
 
113
  ],
114
  outputs="audio",
115
  examples=examples,
116
+ enable_queue=True,
117
  )
118
  with gr.TabItem("Record your voice"):
119
  iface = gr.Interface(
 
124
  gr.inputs.Audio(source="microphone", label="Record yourself reading something out loud (audio 2)", type="numpy"),
125
  gr.inputs.Audio(source="microphone", label="Record yourself reading something out loud (audio 3)", type="numpy"),
126
  ],
127
+ outputs="audio",
128
+ enable_queue=True,
129
  )
130
 
131
  gr.Markdown("This demo shows the ultra fast option in the TorToiSe system. For more info check the <a href='https://github.com/neonbjb/tortoise-tts' target='_blank'>Repository</a>.",)