Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -108,15 +108,15 @@ def generate_image(
|
|
108 |
|
109 |
def gen(
|
110 |
prompt,
|
111 |
-
width=768,
|
112 |
-
height=1024,
|
113 |
-
scales=5,
|
114 |
-
steps=24,
|
115 |
-
seed=-1,
|
116 |
-
nums=1,
|
117 |
-
lora_scale=1.0,
|
118 |
-
lora_in="",
|
119 |
-
lora_add=""
|
120 |
):
|
121 |
enable_lora(lora_scale, lora_in, lora_add)
|
122 |
generate_image(prompt,width,height,scales,steps,seed,nums)
|
|
|
108 |
|
109 |
def gen(
|
110 |
prompt,
|
111 |
+
width:int=768,
|
112 |
+
height:int=1024,
|
113 |
+
scales:int=5,
|
114 |
+
steps:int=24,
|
115 |
+
seed:int=-1,
|
116 |
+
nums:int=1,
|
117 |
+
lora_scale:float=1.0,
|
118 |
+
lora_in:str="",
|
119 |
+
lora_add:str=""
|
120 |
):
|
121 |
enable_lora(lora_scale, lora_in, lora_add)
|
122 |
generate_image(prompt,width,height,scales,steps,seed,nums)
|