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
Omnibus
commited on
Mar 20
Commit
497ea18
•
1 Parent(s):
4ccabe8
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+5
-0
app.py
ADDED
Viewed
@@ -0,0 +1,5 @@
1
+
import torch
2
+
from transformers import pipeline
3
+
4
+
pipe = pipeline("text-generation", model="keyfan/grok-1-hf", trust_remote_code=True)
5
+
print(pipe("hello?"))