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...
72f3a65
test
/
app.py
mtzig
list of list
72f3a65
5 months ago
raw
Copy download link
history
blame
219 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()