Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
ThomasSimonini
/
Test
like
0
Runtime error
App
Files
Files
Community
9079103
Test
/
app.py
ThomasSimonini
HF staff
Update app.py
89a14cf
10 months ago
raw
Copy download link
history
blame
No virus
182 Bytes
import
gradio
as
gr
from
transformers
import
pipeline
pipe = pipeline(
"conversational"
, model=
"meta-llama/Llama-2-7b-chat-hf"
)
demo = gr.Interface.from_pipeline(pipe)
demo.launch()