Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ quant_config = BitsAndBytesConfig(
|
|
| 44 |
bnb_4bit_compute_dtype=torch.float16,
|
| 45 |
)
|
| 46 |
|
| 47 |
-
# --- Leer el token del entorno (añadido como Repository Secret)
|
| 48 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 49 |
|
| 50 |
def load_models():
|
|
|
|
| 44 |
bnb_4bit_compute_dtype=torch.float16,
|
| 45 |
)
|
| 46 |
|
| 47 |
+
# --- Leer el token del entorno (añadido como Repository Secret) ----
|
| 48 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 49 |
|
| 50 |
def load_models():
|