Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
44brabal
/
ai
like
0
Runtime error
App
Files
Files
Community
main
ai
/
app.py
44brabal
Update app.py
3ee82d8
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
178 Bytes
import
gradio
as
gr
# Use a pipeline as a high-level helper
from
transformers
import
pipeline
pipe = pipeline(
"text-generation"
, model=
"Qwen/Qwen-14B"
, trust_remote_code=
True
)