Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ text_generation_pipeline = pipeline(
|
|
17 |
model_kwargs={"torch_dtype": torch.float16, "load_in_4bit": True},
|
18 |
use_auth_token=hf_token
|
19 |
)
|
20 |
-
|
21 |
|
22 |
def generate_text(user_input):
|
23 |
messages = [{"role": "user", "content": user_input}]
|
|
|
17 |
model_kwargs={"torch_dtype": torch.float16, "load_in_4bit": True},
|
18 |
use_auth_token=hf_token
|
19 |
)
|
20 |
+
|
21 |
|
22 |
def generate_text(user_input):
|
23 |
messages = [{"role": "user", "content": user_input}]
|