Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Merge branch 'robotic_voice'
Browse files- gr_client.py +1 -2
gr_client.py
CHANGED
@@ -317,7 +317,6 @@ _DESCRIPTION = '''
|
|
317 |
|
318 |
class BlocksDemo:
|
319 |
def __init__(self, models_path, lojban_models_path, robotic_models_path):
|
320 |
-
# global voice_radio_init
|
321 |
self.models_path = models_path
|
322 |
self.lojban_models_path = lojban_models_path
|
323 |
self.robotic_models_path = robotic_models_path
|
@@ -613,7 +612,7 @@ class BlocksDemo:
|
|
613 |
|
614 |
if voice_id == 'x_selpahi':
|
615 |
sample_path = self.lojban_models_path
|
616 |
-
|
617 |
sample_path = self.robotic_models_path
|
618 |
else:
|
619 |
sample_path = self.models_path
|
|
|
317 |
|
318 |
class BlocksDemo:
|
319 |
def __init__(self, models_path, lojban_models_path, robotic_models_path):
|
|
|
320 |
self.models_path = models_path
|
321 |
self.lojban_models_path = lojban_models_path
|
322 |
self.robotic_models_path = robotic_models_path
|
|
|
612 |
|
613 |
if voice_id == 'x_selpahi':
|
614 |
sample_path = self.lojban_models_path
|
615 |
+
elif voice_id == 'cnc_cabal':
|
616 |
sample_path = self.robotic_models_path
|
617 |
else:
|
618 |
sample_path = self.models_path
|