Spaces:
Runtime error
Runtime error
Update app_base.py
Browse files- app_base.py +2 -2
app_base.py
CHANGED
|
@@ -60,8 +60,8 @@ def create_demo(model: Model) -> gr.Blocks:
|
|
| 60 |
image: PIL.Image.Image,
|
| 61 |
prompt: str,
|
| 62 |
negative_prompt: str,
|
| 63 |
-
style_name: str = default_style_name,
|
| 64 |
adapter_name: str,
|
|
|
|
| 65 |
num_inference_steps: int = 30,
|
| 66 |
guidance_scale: float = 5.0,
|
| 67 |
adapter_conditioning_scale: float = 1.0,
|
|
@@ -143,8 +143,8 @@ def create_demo(model: Model) -> gr.Blocks:
|
|
| 143 |
image,
|
| 144 |
prompt,
|
| 145 |
negative_prompt,
|
| 146 |
-
style,
|
| 147 |
adapter_name,
|
|
|
|
| 148 |
num_inference_steps,
|
| 149 |
guidance_scale,
|
| 150 |
adapter_conditioning_scale,
|
|
|
|
| 60 |
image: PIL.Image.Image,
|
| 61 |
prompt: str,
|
| 62 |
negative_prompt: str,
|
|
|
|
| 63 |
adapter_name: str,
|
| 64 |
+
style_name: str = default_style_name,
|
| 65 |
num_inference_steps: int = 30,
|
| 66 |
guidance_scale: float = 5.0,
|
| 67 |
adapter_conditioning_scale: float = 1.0,
|
|
|
|
| 143 |
image,
|
| 144 |
prompt,
|
| 145 |
negative_prompt,
|
|
|
|
| 146 |
adapter_name,
|
| 147 |
+
style,
|
| 148 |
num_inference_steps,
|
| 149 |
guidance_scale,
|
| 150 |
adapter_conditioning_scale,
|