Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
from transformers import pipeline
|
2 |
generate_text = pipeline(model="databricks/dolly-v2-2-8b",
|
3 |
torch_dtype=torch.bfloat16,
|
|
|
1 |
+
import torch
|
2 |
from transformers import pipeline
|
3 |
generate_text = pipeline(model="databricks/dolly-v2-2-8b",
|
4 |
torch_dtype=torch.bfloat16,
|