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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -9,8 +9,9 @@ import os
9
 
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", "") # You can configure this API token through the Hugging Face Secrets
 
14
  )
15
 
16
  # Check if a GPU is available and use it if possible
 
9
 
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