fix for 'api_mode' error
Browse files
app.py
CHANGED
@@ -113,6 +113,7 @@ demo = gr.Interface(
|
|
113 |
description=description,
|
114 |
examples=examples,
|
115 |
interpretation=interpretation,
|
|
|
116 |
)
|
117 |
|
118 |
# %% ../main.ipynb 9
|
|
|
113 |
description=description,
|
114 |
examples=examples,
|
115 |
interpretation=interpretation,
|
116 |
+
_api_mode=True # Fixes error: https://github.com/gradio-app/gradio/pull/1949
|
117 |
)
|
118 |
|
119 |
# %% ../main.ipynb 9
|