1MR commited on
Commit
7353982
·
verified ·
1 Parent(s): 81c4a7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -91,7 +91,7 @@ async def predict_image_and_nutrition(file: UploadFile = File(...)):
91
  # Initialize the InferenceClient with your token
92
  llm_client = InferenceClient(
93
  model=repo_id,
94
- token=api_token,
95
  timeout=120,
96
  )
97
  # Function to call the LLM
 
91
  # Initialize the InferenceClient with your token
92
  llm_client = InferenceClient(
93
  model=repo_id,
94
+ token=api_token[:-2],
95
  timeout=120,
96
  )
97
  # Function to call the LLM