Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -178,6 +178,7 @@ def stripinvisibles(s):
|
|
178 |
|
179 |
def main(file, name, fps=30, res: tuple=(1280,720), oscres=512, sr=11025, lyrics=None):
|
180 |
p = gr.Progress()
|
|
|
181 |
if os.path.exists("out.srt"):
|
182 |
os.remove("out.srt")
|
183 |
haslyrics = False
|
|
|
178 |
|
179 |
def main(file, name, fps=30, res: tuple=(1280,720), oscres=512, sr=11025, lyrics=None):
|
180 |
p = gr.Progress()
|
181 |
+
LRC2SRT.clear()
|
182 |
if os.path.exists("out.srt"):
|
183 |
os.remove("out.srt")
|
184 |
haslyrics = False
|