aiDevzz commited on
Commit
0a9bc7a
1 Parent(s): 846e7f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -1,7 +1,4 @@
1
- import streamlit as st
2
- from transformers import pipeline
3
- prompt = st.text_area('enter a Prompt')
4
- generate = st.button(' begin ')
5
- if generate:
6
- st.text('Generating')
7
 
 
1
+ from diffusers import DiffusionPipeline
2
+
3
+ pipeline = DiffusionPipeline.from_pretrained("ByteDance/SDXL-Lightning")
 
 
 
4