Skip to content

Commit

Permalink
(#31) examples: rename BaseBlock as Block
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayukhdeb committed Feb 5, 2022
1 parent 21701ec commit c0f2cd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/minimal/server.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from eden.block import BaseBlock
from eden.block import Block
from eden.hosting import host_block

eden_block = BaseBlock()
eden_block = Block()

my_args = {
'prompt': 'hello world',
Expand Down
4 changes: 2 additions & 2 deletions examples/not_so_minimal/server.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from eden.block import BaseBlock
from eden.block import Block
from eden.datatypes import Image
from eden.hosting import host_block

Expand All @@ -14,7 +14,7 @@
transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
])

eden_block = BaseBlock()
eden_block = Block()

my_args = {
'width': 224, ## width
Expand Down

0 comments on commit c0f2cd0

Please sign in to comment.