Spaces:
Sleeping
Sleeping
File size: 250 Bytes
8452017 |
1 2 3 4 5 6 7 8 9 10 11 |
import streamlit as st
from transformers import pipeline
pipe = pipeline(
task='text-generation',
model = 'meta-llama/Meta-Llama-3-8B'
)
x = st.chat_input(placeholder='Your Message')
o = pipe("Hi")
st.write(o[0]['generated_text']) |