Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -79,8 +79,8 @@ async def gen(
|
|
79 |
):
|
80 |
model = enable_lora(lora_add)
|
81 |
print(model)
|
82 |
-
|
83 |
-
return
|
84 |
|
85 |
examples = [
|
86 |
["A cartoon-style blonde European-American woman wearing sunglasses stood in front of the triumphant door to take a selfie, the upper bodyartistic style","Shakker-Labs/FLUX.1-dev-LoRA-blended-realistic-illustration","artistic style blends elements of reality and illustration"],
|
|
|
79 |
):
|
80 |
model = enable_lora(lora_add)
|
81 |
print(model)
|
82 |
+
image, seed = await generate_image(prompt,model,lora_word,width,height,scales,steps,seed)
|
83 |
+
return image, seed
|
84 |
|
85 |
examples = [
|
86 |
["A cartoon-style blonde European-American woman wearing sunglasses stood in front of the triumphant door to take a selfie, the upper bodyartistic style","Shakker-Labs/FLUX.1-dev-LoRA-blended-realistic-illustration","artistic style blends elements of reality and illustration"],
|