Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,6 @@ text_generation_pipeline = pipeline(
|
|
11 |
"text-generation",
|
12 |
model=model_name,
|
13 |
model_kwargs={"torch_dtype": "auto", "load_in_4bit": True},
|
14 |
-
use_auth_token=hf_token # Correctly placed for model and tokenizer loading
|
15 |
)
|
16 |
|
17 |
def generate_text(user_input):
|
|
|
11 |
"text-generation",
|
12 |
model=model_name,
|
13 |
model_kwargs={"torch_dtype": "auto", "load_in_4bit": True},
|
|
|
14 |
)
|
15 |
|
16 |
def generate_text(user_input):
|