DhirajN commited on
Commit
d6811db
·
verified ·
1 Parent(s): 8b79a0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,8 +10,8 @@ import os
10
  # Initialize the InferenceClient for PHI 3
11
  client = InferenceClient(
12
  "microsoft/Phi-3.5-mini-instruct", # Update this to the correct model name for PHI 3
13
- token=os.getenv("HF_API_TOKEN", ""),
14
- trust_remote_code=True # You can configure this API token through the Hugging Face Secrets
15
  )
16
 
17
  # Check if a GPU is available and use it if possible
 
10
  # Initialize the InferenceClient for PHI 3
11
  client = InferenceClient(
12
  "microsoft/Phi-3.5-mini-instruct", # Update this to the correct model name for PHI 3
13
+ token=os.getenv("HF_API_TOKEN", "")
14
+ # You can configure this API token through the Hugging Face Secrets
15
  )
16
 
17
  # Check if a GPU is available and use it if possible