Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,7 +83,7 @@ def prepare_media(source_path_or_url: os.PathLike,
|
|
| 83 |
if "www.google.com/device" in line:
|
| 84 |
hl_text = line.replace("https://www.google.com/device", "\033[93mhttps://www.google.com/device\x1b[0m").split()
|
| 85 |
hl_text[-1] = "\x1b[31;1m" + hl_text[-1] + "\x1b[0m"
|
| 86 |
-
lf.write(' '.join(hl_text
|
| 87 |
process.stdout.close()
|
| 88 |
process.wait()
|
| 89 |
|
|
|
|
| 83 |
if "www.google.com/device" in line:
|
| 84 |
hl_text = line.replace("https://www.google.com/device", "\033[93mhttps://www.google.com/device\x1b[0m").split()
|
| 85 |
hl_text[-1] = "\x1b[31;1m" + hl_text[-1] + "\x1b[0m"
|
| 86 |
+
lf.write(' '.join(hl_text)); lf.flush()
|
| 87 |
process.stdout.close()
|
| 88 |
process.wait()
|
| 89 |
|