Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,14 +9,6 @@ import spaces
|
|
| 9 |
import torch
|
| 10 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
| 11 |
|
| 12 |
-
#Load the HTML content
|
| 13 |
-
#html_file_url = "https://prithivmlmods-hamster-static.static.hf.space/index.html"
|
| 14 |
-
#html_content = f'<iframe src="{html_file_url}" style="width:100%; height:180px; border:none;"></iframe>'
|
| 15 |
-
#html_file_url = "https://prithivmlmods-static-loading-theme.static.hf.space/index.html"
|
| 16 |
-
|
| 17 |
-
html_file_url = "https://prithivhamster.vercel.app/"
|
| 18 |
-
html_content = f'<iframe src="{html_file_url}" style="width:100%; height:400px; border:none"></iframe>'
|
| 19 |
-
|
| 20 |
DESCRIPTIONx = """## REALVISXL V5⚡
|
| 21 |
|
| 22 |
"""
|
|
@@ -96,7 +88,7 @@ def generate(
|
|
| 96 |
"generator": generator,
|
| 97 |
"output_type": "pil",
|
| 98 |
}
|
| 99 |
-
|
| 100 |
if use_resolution_binning:
|
| 101 |
options["use_resolution_binning"] = True
|
| 102 |
|
|
|
|
| 9 |
import torch
|
| 10 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
DESCRIPTIONx = """## REALVISXL V5⚡
|
| 13 |
|
| 14 |
"""
|
|
|
|
| 88 |
"generator": generator,
|
| 89 |
"output_type": "pil",
|
| 90 |
}
|
| 91 |
+
|
| 92 |
if use_resolution_binning:
|
| 93 |
options["use_resolution_binning"] = True
|
| 94 |
|