Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from PIL import Image
|
|
7 |
app = Flask(__name__)
|
8 |
|
9 |
# Load the model
|
10 |
-
model_id = "
|
11 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
12 |
pipe = pipe.to("cuda") # Ensure you're using a GPU for inference
|
13 |
|
|
|
7 |
app = Flask(__name__)
|
8 |
|
9 |
# Load the model
|
10 |
+
model_id = "sairajg/Text_To_Image"
|
11 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
12 |
pipe = pipe.to("cuda") # Ensure you're using a GPU for inference
|
13 |
|