Pendrokar commited on
Commit
ff663a0
β€’
2 Parent(s): 6caed5b 9785774

Merge branch 'robotic_voice'

Browse files
Files changed (1) hide show
  1. 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
- if voice_id == 'cnc_cabal':
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