diff --git a/gradio/mix.py b/gradio/mix.py index 4a3a303ae8..bb1650c93d 100644 --- a/gradio/mix.py +++ b/gradio/mix.py @@ -30,7 +30,7 @@ class Parallel(gradio.Interface): } kwargs.update(options) super().__init__(**kwargs) - self.api_mode = interfaces[0].api_mode # TODO(abidlabs): make api_mode a per-function attribute + self.api_mode = interfaces[0].api_mode # TODO(abidlabs): make api_mode a per-function attribute class Series(gradio.Interface): @@ -81,6 +81,4 @@ class Series(gradio.Interface): } kwargs.update(options) super().__init__(**kwargs) - self.api_mode = ( - interfaces[0].api_mode, - ) # TODO(abidlabs): make api_mode a per-function attribute + self.api_mode = interfaces[0].api_mode # TODO(abidlabs): make api_mode a per-function attribute