Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def greet(v, speed_ratio, debug, progress=gr.Progress(track_tqdm=True)):
|
|
| 21 |
print(ret[-2:])
|
| 22 |
if len(result)>0 and result[-1][-2:] == ret[-2:]: continue
|
| 23 |
result.append(ret[ret_offset:])
|
| 24 |
-
return result
|
| 25 |
|
| 26 |
|
| 27 |
with gr.Blocks() as demo:
|
|
|
|
| 21 |
print(ret[-2:])
|
| 22 |
if len(result)>0 and result[-1][-2:] == ret[-2:]: continue
|
| 23 |
result.append(ret[ret_offset:])
|
| 24 |
+
return "".join([ str(item)+"\n" for item in result ])
|
| 25 |
|
| 26 |
|
| 27 |
with gr.Blocks() as demo:
|