harshasoftware commited on
Commit
f4f4941
1 Parent(s): 19b4b45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,9 +4,10 @@ import torch
4
  from PIL import Image
5
  import io
6
  from huggingface_hub import login
 
7
 
8
  # Authenticate with Hugging Face
9
- login(token="your_huggingface_token_here")
10
 
11
  # Load the Stable Fast 3D model
12
  model_id = "stabilityai/stable-fast-3d"
 
4
  from PIL import Image
5
  import io
6
  from huggingface_hub import login
7
+ import os
8
 
9
  # Authenticate with Hugging Face
10
+ login(token=os.environ.get('your_huggingface_token_here'))
11
 
12
  # Load the Stable Fast 3D model
13
  model_id = "stabilityai/stable-fast-3d"