Spaces:
Runtime error
Runtime error
Download app.py from maxkwong/Search_Engine_by_Max: direct link, hf CLI and curl.
- Browser
- Download file 160 Bytes
-
https://huggingface.co/spaces/maxkwong/Search_Engine_by_Max/resolve/main/app.py
- Command line
-
hf download hf://spaces/maxkwong/Search_Engine_by_Max/app.py
-
curl -L -o app.py https://huggingface.co/spaces/maxkwong/Search_Engine_by_Max/resolve/main/app.py
160 Bytes
| import gradio as gr | |
| import os | |
| api_key = os.environ.get("API_KEY") | |
| demo = gr.load("dexmorgan/HKMA_publications", src="spaces", hf_token = api_key) | |
| demo.launch() |