CodeChamp95 commited on
Commit
f21d711
·
verified ·
1 Parent(s): a4ec135

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -4,6 +4,10 @@ BERTopic Topic Modelling Agent — Gradio Interface
4
  import os
5
  os.environ.pop("GRADIO_HOT_RELOAD", None)
6
  import gradio as gr
 
 
 
 
7
  import pandas as pd
8
  import json
9
  from pathlib import Path
 
4
  import os
5
  os.environ.pop("GRADIO_HOT_RELOAD", None)
6
  import gradio as gr
7
+
8
+ # Disable the /info endpoint that triggers the broken gradio_client schema parser
9
+ import gradio.routes as _gr_routes
10
+ _gr_routes.api_info = lambda *a, **kw: {}
11
  import pandas as pd
12
  import json
13
  from pathlib import Path