Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Omnibus
/
Grok-test-2
like
0
Runtime error
App
Files
Files
Community
310ffe7
Grok-test-2
/
app.py
Omnibus
Create app.py
497ea18
verified
8 months ago
raw
Copy download link
history
blame
Safe
154 Bytes
import
torch
from
transformers
import
pipeline
pipe = pipeline(
"text-generation"
, model=
"keyfan/grok-1-hf"
, trust_remote_code=
True
)
print
(pipe(
"hello?"
))