Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
mtzig
/
test
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
3930a89
test
/
app.py
mtzig
maybe work?
3930a89
5 months ago
raw
Copy download link
history
blame
215 Bytes
import
gradio
as
gr
from
transformers
import
pipeline
pipe = pipeline(
"text-generation"
, model=
"tpzeng/prm800k_llama_joint_checkpoint1000"
, bad_words_ids=[
128254
,
128255
])
gr.Interface.from_pipeline(pipe).launch()