Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
0bcc572
1
Parent(s):
a644ba9
added workaround
Browse files
app.py
CHANGED
|
@@ -15,9 +15,8 @@ import gradio as gr
|
|
| 15 |
#!/usr/bin/env python3
|
| 16 |
import csv, re, sys
|
| 17 |
from pathlib import Path
|
| 18 |
-
import
|
| 19 |
-
|
| 20 |
-
requests.get('https://github.com/Jameshskelton/fonts/raw/refs/heads/main/P052-Roman.ttf')
|
| 21 |
|
| 22 |
|
| 23 |
def parse_time_to_srt(t):
|
|
|
|
| 15 |
#!/usr/bin/env python3
|
| 16 |
import csv, re, sys
|
| 17 |
from pathlib import Path
|
| 18 |
+
import urllib.request
|
| 19 |
+
urllib.request.urlretrieve("https://github.com/Jameshskelton/fonts/raw/refs/heads/main/P052-Roman.ttf", "P052-Roman.ttf")
|
|
|
|
| 20 |
|
| 21 |
|
| 22 |
def parse_time_to_srt(t):
|