Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import torch
|
|
| 3 |
from diffusers import AutoPipelineForText2Image
|
| 4 |
import base64
|
| 5 |
from io import BytesIO
|
| 6 |
-
from generate_propmts
|
| 7 |
# Load the model once outside of the function
|
| 8 |
model = AutoPipelineForText2Image.from_pretrained("stabilityai/sdxl-turbo")
|
| 9 |
|
|
|
|
| 3 |
from diffusers import AutoPipelineForText2Image
|
| 4 |
import base64
|
| 5 |
from io import BytesIO
|
| 6 |
+
from generate_propmts import generate_prompt
|
| 7 |
# Load the model once outside of the function
|
| 8 |
model = AutoPipelineForText2Image.from_pretrained("stabilityai/sdxl-turbo")
|
| 9 |
|