tpei0009
commited on
Commit
·
c79f323
1
Parent(s):
e215a41
Initial commit
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
from diffusers import StableDiffusionInstructPix2PixPipeline
|
|
|
4 |
|
5 |
model_id = "noobasuna/instruct-pix2pix-model"
|
6 |
# Load your model from the Hugging Face Hub
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
from diffusers import StableDiffusionInstructPix2PixPipeline
|
4 |
+
import torch
|
5 |
|
6 |
model_id = "noobasuna/instruct-pix2pix-model"
|
7 |
# Load your model from the Hugging Face Hub
|