iorikyo commited on
Commit
db914fe
Β·
verified Β·
1 Parent(s): 3a7620c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ class SmolaAgent:
36
  # Step 3: Initialize InferenceClientModel
37
  print("Step 3: Initializing InferenceClientModel...")
38
  try:
39
- model = InferenceClientModel(token=HF_TOKEN)
40
  print("βœ… Step 3: InferenceClientModel initialized successfully")
41
  except Exception as e:
42
  print(f"❌ Step 3: InferenceClientModel initialization failed: {e}")
 
36
  # Step 3: Initialize InferenceClientModel
37
  print("Step 3: Initializing InferenceClientModel...")
38
  try:
39
+ model = InferenceClientModel(token=os.getenv("HF_TOKEN"))
40
  print("βœ… Step 3: InferenceClientModel initialized successfully")
41
  except Exception as e:
42
  print(f"❌ Step 3: InferenceClientModel initialization failed: {e}")