Skip to content

Commit

Permalink
fixed issue with serializing forecast response in client
Browse files Browse the repository at this point in the history
  • Loading branch information
attila-balint-kul committed Jun 21, 2023
1 parent f40c817 commit 84da5fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/enfobench/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.3"
__version__ = "0.0.4"
2 changes: 1 addition & 1 deletion src/enfobench/evaluation/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ def predict(
if not response.ok:
response.raise_for_status()

df = pd.read_parquet(io.BytesIO(response.content))
df = pd.DataFrame.from_records(response.json()['forecast'])
return df

0 comments on commit 84da5fc

Please sign in to comment.