sam522 commited on
Commit
7f35276
·
1 Parent(s): a870f60
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from huggingface_hub import InferenceClient, login
3
  import os
4
 
5
- login(token=os.environ("HUGGINGFACEHUB_API_TOKEN"))
6
 
7
  """
8
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
 
2
  from huggingface_hub import InferenceClient, login
3
  import os
4
 
5
+ login(token=os.environ["HUGGINGFACEHUB_API_TOKEN"])
6
 
7
  """
8
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference