Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
import requests
|
4 |
-
|
5 |
|
6 |
iface = gr.load(src="spaces",name="dwipper/NILI-Mobile",hf_token=HUGGING_FACE_TOKEN)
|
7 |
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'")
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
import requests
|
4 |
+
HUGGING_FACE_TOKEN=os.environ.get('HUGGING_FACE_TOKEN', None)
|
5 |
|
6 |
iface = gr.load(src="spaces",name="dwipper/NILI-Mobile",hf_token=HUGGING_FACE_TOKEN)
|
7 |
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'")
|