Spaces:
Runtime error
Runtime error
Download app.py from dwipper/NILI-Mobile-Auth: direct link, hf CLI and curl.
- Browser
- Download file 390 Bytes
-
https://huggingface.co/spaces/dwipper/NILI-Mobile-Auth/resolve/main/app.py
- Command line
-
hf download hf://spaces/dwipper/NILI-Mobile-Auth/app.py
-
curl -L -o app.py https://huggingface.co/spaces/dwipper/NILI-Mobile-Auth/resolve/main/app.py
390 Bytes
| import gradio as gr | |
| import os | |
| import requests | |
| HUGGING_FACE_TOKEN=os.environ.get('HUGGING_FACE_TOKEN', None) | |
| iface = gr.load(src="spaces",name="dwipper/NILI-Mobile-Simple-NoLogo",hf_token=HUGGING_FACE_TOKEN) | |
| iface.launch(auth=("admin","admin"), auth_message= "Enter your username and password that you received from CIMS.AI. To request a login, please email 'info@cims.ai'") | |
| #iface.launch() |