Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -41,6 +41,8 @@ def generate(prompt,history,max_new_tokens,seed):
|
|
41 |
yield [(prompt,output)], output
|
42 |
|
43 |
def tts(inp,voice,length,noise,width,sen_pause):
|
|
|
|
|
44 |
inp=inp.strip("</s>")
|
45 |
yield from pp.stream_tts(inp,voice,length,noise,width,sen_pause)
|
46 |
def load_mod(model):
|
|
|
41 |
yield [(prompt,output)], output
|
42 |
|
43 |
def tts(inp,voice,length,noise,width,sen_pause):
|
44 |
+
print(inp)
|
45 |
+
print(type(inp))
|
46 |
inp=inp.strip("</s>")
|
47 |
yield from pp.stream_tts(inp,voice,length,noise,width,sen_pause)
|
48 |
def load_mod(model):
|