Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import asyncio
|
|
2 |
import json
|
3 |
import gradio as gr
|
4 |
from diffusers import StableDiffusionPipeline
|
5 |
-
from
|
6 |
|
7 |
# Load the model pipeline
|
8 |
pipeline = StableDiffusionPipeline.from_pretrained("stabilityai/sdxl-turbo").to("cuda")
|
|
|
2 |
import json
|
3 |
import gradio as gr
|
4 |
from diffusers import StableDiffusionPipeline
|
5 |
+
from generate_propmts import generate_prompt
|
6 |
|
7 |
# Load the model pipeline
|
8 |
pipeline = StableDiffusionPipeline.from_pretrained("stabilityai/sdxl-turbo").to("cuda")
|