Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -277,7 +277,7 @@ class ConversationBot:
|
|
| 277 |
return gr.update(visible = False), gr.update(visible = True), gr.update(visible = True), gr.update(visible = False)
|
| 278 |
else:
|
| 279 |
for class_name, instance in self.models.items():
|
| 280 |
-
if class_name != 'T2A' and class_name != 'I2A' and class_name != 'Inpaint' and class_name != 'ASR' and class_name != 'SoundDetection':
|
| 281 |
for e in dir(instance):
|
| 282 |
if e.startswith('inference'):
|
| 283 |
func = getattr(instance, e)
|
|
|
|
| 277 |
return gr.update(visible = False), gr.update(visible = True), gr.update(visible = True), gr.update(visible = False)
|
| 278 |
else:
|
| 279 |
for class_name, instance in self.models.items():
|
| 280 |
+
if class_name != 'T2A' and class_name != 'I2A' and class_name != 'Inpaint' and class_name != 'ASR' and class_name != 'SoundDetection' and class_name != 'Speech_Enh_SC' and class_name != 'Speech_SS':
|
| 281 |
for e in dir(instance):
|
| 282 |
if e.startswith('inference'):
|
| 283 |
func = getattr(instance, e)
|