kayfahaarukku commited on
Commit
95abdcd
·
verified ·
1 Parent(s): 34211f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,8 +32,8 @@ else:
32
  device = "cuda" if torch.cuda.is_available() else "cpu"
33
  print(f"Using device: {device}")
34
 
35
- # Model identifier - automatically use the local model if in Spaces
36
- model_id = os.environ.get("SPACE_ID", "thorscribe/fuufu-model-9")
37
  print(f"Using model: {model_id}")
38
 
39
  # Determine dtype based on available hardware
 
32
  device = "cuda" if torch.cuda.is_available() else "cpu"
33
  print(f"Using device: {device}")
34
 
35
+ # Model identifier - hardcode the correct model path instead of using environment variables
36
+ model_id = "thorscribe/fuufu-model-9"
37
  print(f"Using model: {model_id}")
38
 
39
  # Determine dtype based on available hardware