gizatechxyz / giza-agents

Easy to use Verifiable AI and smart contracts interoperability.
https://docs.gizatech.xyz/products/ai-agents
MIT License
14 stars 10 forks source link

fix: Session is not initialized. #58

Closed jainkunal closed 3 months ago

jainkunal commented 3 months ago

When using GizaModel with id and version, it tries to set the session after downloading the model but since the _output_path is not set it is unable to download the model and initialize the session.

Tested with

m = GizaModel(id=766, version=1)
m.predict(X)