url
Browse files
App/Generate/database/DescriptAPI.py
CHANGED
|
@@ -146,6 +146,7 @@ class Speak:
|
|
| 146 |
temp_dir = tempfile.TemporaryDirectory()
|
| 147 |
# os.makedirs(self.dir, exist_ok=True)
|
| 148 |
save_path = os.path.join(temp_dir.name, filename)
|
|
|
|
| 149 |
async with aiohttp.ClientSession() as session:
|
| 150 |
async with session.get(url) as response:
|
| 151 |
if response.status == 200:
|
|
|
|
| 146 |
temp_dir = tempfile.TemporaryDirectory()
|
| 147 |
# os.makedirs(self.dir, exist_ok=True)
|
| 148 |
save_path = os.path.join(temp_dir.name, filename)
|
| 149 |
+
print(url)
|
| 150 |
async with aiohttp.ClientSession() as session:
|
| 151 |
async with session.get(url) as response:
|
| 152 |
if response.status == 200:
|