Spaces:
Running
Running
Download app_mindsearch.py from akhaliq/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 287 Bytes
-
https://huggingface.co/spaces/akhaliq/anycoder/resolve/a2c2acd5b92661e57257e85a48f62595ee0e2ece/app_mindsearch.py
- Command line
-
hf download hf://spaces/akhaliq/anycoder@a2c2acd5b92661e57257e85a48f62595ee0e2ece/app_mindsearch.py
-
curl -L -o app_mindsearch.py https://huggingface.co/spaces/akhaliq/anycoder/resolve/a2c2acd5b92661e57257e85a48f62595ee0e2ece/app_mindsearch.py
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() |