Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import random
|
|
| 4 |
import sys
|
| 5 |
import os
|
| 6 |
|
| 7 |
-
def
|
| 8 |
filename = str(random.randint(111111111, 999999999)) + ".png"
|
| 9 |
|
| 10 |
file_path = os.path.join(os.path.dirname(__file__), filename)
|
|
|
|
| 4 |
import sys
|
| 5 |
import os
|
| 6 |
|
| 7 |
+
def download_file(url):
|
| 8 |
filename = str(random.randint(111111111, 999999999)) + ".png"
|
| 9 |
|
| 10 |
file_path = os.path.join(os.path.dirname(__file__), filename)
|