Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,8 @@ from transformers import pipeline
|
|
| 3 |
import torch
|
| 4 |
import os
|
| 5 |
|
| 6 |
-
auth_token = os.getenv("HF_AUTH_TOKEN
|
|
|
|
| 7 |
pipe = pipeline("text-generation", model="google/gemma-3-1b-it", torch_dtype=torch.bfloat16)
|
| 8 |
|
| 9 |
def predict(user_input):
|
|
|
|
| 3 |
import torch
|
| 4 |
import os
|
| 5 |
|
| 6 |
+
auth_token = os.getenv("HF_AUTH_TOKEN
|
| 7 |
+
print(f"Nilai HF_AUTH_TOKEN: {auth_token}")
|
| 8 |
pipe = pipeline("text-generation", model="google/gemma-3-1b-it", torch_dtype=torch.bfloat16)
|
| 9 |
|
| 10 |
def predict(user_input):
|