Dacho688 commited on
Commit
86a6a1e
·
1 Parent(s): 0878909

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  import spaces
4
  from huggingface_hub import InferenceClient,login,whoami
5
 
6
- if not whoami(False):
7
  login(os.getenv("HUGGINGFACEHUB_API_TOKEN"))
8
 
9
  client=InferenceClient()
 
3
  import spaces
4
  from huggingface_hub import InferenceClient,login,whoami
5
 
6
+ if not whoami(token=False):
7
  login(os.getenv("HUGGINGFACEHUB_API_TOKEN"))
8
 
9
  client=InferenceClient()