File size: 175 Bytes
782b597
 
b4e26fe
 
 
 
 
1
2
3
4
5
6
7
import gradio as gr


# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="TinyLlama/TinyLlama-1.1B-Chat-v1.0")