Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ examples = [
|
|
46 |
# Environment variables and defaults for configuration
|
47 |
|
48 |
if not torch.cuda.is_available():
|
49 |
-
DESCRIPTION += "\n<p>⚠️Running on CPU, This may not work on CPU. If it runs for an extended time or if you encounter errors, try running it on a GPU by duplicating the space using @spaces.GPU().📍</p>"
|
50 |
|
51 |
MODEL_ID = os.getenv("MODEL_USED") #Use SDXL Model as "MODEL_REPO" --------->>> ”VALUE”.
|
52 |
MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4096"))
|
|
|
46 |
# Environment variables and defaults for configuration
|
47 |
|
48 |
if not torch.cuda.is_available():
|
49 |
+
DESCRIPTION += "\n<p>⚠️Running on CPU, This may not work on CPU. If it runs for an extended time or if you encounter errors, try running it on a GPU by duplicating the space using @spaces.GPU(). +import spaces.📍</p>"
|
50 |
|
51 |
MODEL_ID = os.getenv("MODEL_USED") #Use SDXL Model as "MODEL_REPO" --------->>> ”VALUE”.
|
52 |
MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4096"))
|