anychat / app_mindsearch.py
akhaliq's picture
akhaliq HF staff
update replicate tab
7742e1f
raw
history blame
287 Bytes
import gradio as gr
import spaces
# Load the Gradio space
demo = gr.load(name="internlm/MindSearch", src="spaces")
# Disable API access for all functions
if hasattr(demo, 'fns'):
for fn in demo.fns.values():
fn.api_name = False
if __name__ == "__main__":
demo.launch()