mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
remove comments
This commit is contained in:
parent
994e9c287d
commit
322e7e6623
5 changed files with 2 additions and 53 deletions
|
|
@ -7,7 +7,6 @@ Handles communication with the Atropos API server for:
|
|||
- Batch retrieval
|
||||
"""
|
||||
|
||||
import os
|
||||
import time as _time
|
||||
|
||||
import requests
|
||||
|
|
@ -102,10 +101,6 @@ def get_batch(url: str = "http://localhost:8000"):
|
|||
"""
|
||||
response = requests.get(
|
||||
f"{url}/batch",
|
||||
headers={
|
||||
"X-Atropos-Client": "trainer",
|
||||
"X-Atropos-Pid": str(os.getpid()),
|
||||
},
|
||||
timeout=10,
|
||||
)
|
||||
data = response.json()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue