Spaces:
Running
on
Zero
Running
on
Zero
Update Echox_copy_stream.py
Browse files- 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=
|
| 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
|
| 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):
|