Update server.py
Browse files
server.py
CHANGED
|
@@ -64,7 +64,7 @@ async def hfv2(api_url, timeout=10):
|
|
| 64 |
async with aiohttp.ClientSession() as session:
|
| 65 |
async with session.get(api_url, timeout=timeout) as response:
|
| 66 |
resp_text = await response.text()
|
| 67 |
-
print("second api called successfully, RESPONSE:"
|
| 68 |
return resp_text
|
| 69 |
except Exception as e:
|
| 70 |
print("Error occurred in hfv2:", e)
|
|
|
|
| 64 |
async with aiohttp.ClientSession() as session:
|
| 65 |
async with session.get(api_url, timeout=timeout) as response:
|
| 66 |
resp_text = await response.text()
|
| 67 |
+
print("second api called successfully, RESPONSE:")
|
| 68 |
return resp_text
|
| 69 |
except Exception as e:
|
| 70 |
print("Error occurred in hfv2:", e)
|