fhatje commited on
Commit
550b712
·
1 Parent(s): de85d25

fix for 'api_mode' error

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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