Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyaboulton committed Nov 11, 2022
1 parent 159e020 commit 476144b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gradio/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ async def cache(self) -> None:
output = [value[0] for value in output]
cache_logger.flag(output)
Context.root_block.dependencies.remove(dependency)
Context.root_block.fns.pop(fn_index)

async def load_from_cache(self, example_id: int) -> List[Any]:
"""Loads a particular cached example for the interface.
Expand Down

0 comments on commit 476144b

Please sign in to comment.