leeroythecat's picture
Update app.py
812cec3 verified
import streamlit as st
import transformers
pipeline = transformers.pipeline('summarization', model="unsloth/Meta-Llama-3.1-8B-Instruct-bnb-4bit")
resp = pipeline("You need to eat foods with less saturated fats to lower LDL cholesterol")
st.text(resp)
x = st.slider('Select a value')
st.write(x, 'squared is', x * x)