tzzte commited on
Commit
21e5853
·
verified ·
1 Parent(s): 7875189

Update Echox_copy_stream.py

Browse files
Files changed (1) hide show
  1. Echox_copy_stream.py +2 -2
Echox_copy_stream.py CHANGED
@@ -86,7 +86,7 @@ def load_speech_model(device):
86
  # return vocoder, voc_cfg
87
 
88
  class ScrollingDisplay:
89
- def __init__(self, width=71, height=5):
90
  self.width = width
91
  self.height = height
92
  self.lines = [""] * height
@@ -173,7 +173,7 @@ class ScrollingDisplay:
173
  res += f"{display_line}\n"
174
  else:
175
  res += f"{padded_line}\n"
176
- return res + 5 * "\n"
177
 
178
  class EchoxAssistant():
179
  def __init__(self):
 
86
  # return vocoder, voc_cfg
87
 
88
  class ScrollingDisplay:
89
+ def __init__(self, width=71, height=10):
90
  self.width = width
91
  self.height = height
92
  self.lines = [""] * height
 
173
  res += f"{display_line}\n"
174
  else:
175
  res += f"{padded_line}\n"
176
+ return res
177
 
178
  class EchoxAssistant():
179
  def __init__(self):