From 0eefdaaf37029789c7a853bf019b82b8e7236faf Mon Sep 17 00:00:00 2001 From: Abubakar Abid Date: Thu, 17 Mar 2022 10:39:50 -0700 Subject: [PATCH] fixed quoting in load --- gradio/process_examples.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradio/process_examples.py b/gradio/process_examples.py index 6599c11870..4b1244935b 100644 --- a/gradio/process_examples.py +++ b/gradio/process_examples.py @@ -54,7 +54,7 @@ def cache_interface_examples(interface: Interface) -> None: def load_from_cache(interface: Interface, example_id: int) -> List[Any]: """Loads a particular cached example for the interface.""" with open(CACHE_FILE) as cache: - examples = list(csv.reader(cache)) + examples = list(csv.reader(cache, quotechar="'")) example = examples[example_id + 1] # +1 to adjust for header output = [] for component, cell in zip(interface.output_components, example):