Skip to content

Commit

Permalink
hotfix/use the card key to actually get card information
Browse files Browse the repository at this point in the history
  • Loading branch information
DhanshreeA committed Aug 8, 2024
1 parent 467e613 commit 1fc1dca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ersilia/hub/content/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,16 @@ def local(self):
if not self._is_eos(model_id):
continue
card = mc.get(model_id)
if "card" in card:
card = card["card"]
slug = self._get_slug(card)
title = self._get_title(card)
status = self._get_status(card)
inputs = self._get_input(card)
output = self._get_output(card)
service_class = mc.get_service_class(model_id)
R += [[model_id, slug, title, status, inputs, output, service_class]]

columns = [
"Identifier",
"Slug",
Expand Down

0 comments on commit 1fc1dca

Please sign in to comment.