Spaces:
Runtime error
Runtime error
kevinbednarek
commited on
Commit
β’
c274baa
1
Parent(s):
289edb2
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
import torch
|
2 |
import gradio as gr
|
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
generate_text = pipeline(model="databricks/dolly-v2-3b", torch_dtype=torch.bfloat16, trust_remote_code=True, device_map="auto")
|
|
|
|
|
1 |
import gradio as gr
|
2 |
+
import torch
|
3 |
from transformers import pipeline
|
4 |
|
5 |
generate_text = pipeline(model="databricks/dolly-v2-3b", torch_dtype=torch.bfloat16, trust_remote_code=True, device_map="auto")
|