maba11 commited on
Commit
aaa702e
·
verified ·
1 Parent(s): 93f5d72

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,8 +4,7 @@ import gradio as gr
4
  import os
5
 
6
  # %% Connect to private MaskClassifier and set up API calls to get predictions
7
- HF_TOKEN = os.getenv(HF_TOKEN)
8
- client = Client("maba11/MaskClassifier", hf_token=HF_TOKEN)
9
 
10
  def predict_single_out(input):
11
  api_result = client.predict(
 
4
  import os
5
 
6
  # %% Connect to private MaskClassifier and set up API calls to get predictions
7
+ client = Client("maba11/MaskClassifier", hf_token=os.environ.get("HF_TOKEN"))
 
8
 
9
  def predict_single_out(input):
10
  api_result = client.predict(