Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,10 @@
|
|
| 1 |
import streamlit as st
|
|
|
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
x = st.slider('Select a value')
|
| 4 |
st.write(x, 'squared is', x * x)
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
import transformers
|
| 3 |
|
| 4 |
+
pipeline = transformers.pipeline('summarization', model="meta-llama/Meta-Llama-3.1-70B-Instruct")
|
| 5 |
+
|
| 6 |
+
resp = pipeline("You need to eat foods with less saturated fats to lower LDL cholesterol")
|
| 7 |
+
|
| 8 |
+
st.text(resp)
|
| 9 |
x = st.slider('Select a value')
|
| 10 |
st.write(x, 'squared is', x * x)
|