Spaces:
Sleeping
Sleeping
prithivMLmods
commited on
Commit
•
609ad26
1
Parent(s):
9ee2843
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
#!/usr/bin/env python
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
import os
|
3 |
import random
|
4 |
import uuid
|
@@ -29,7 +35,6 @@ examples = [
|
|
29 |
MODEL_OPTIONS = {
|
30 |
"REALVISXL V5.0": "SG161222/RealVisXL_V5.0",
|
31 |
"LIGHTNING V5.0": "SG161222/RealVisXL_V5.0_Lightning",
|
32 |
-
|
33 |
}
|
34 |
|
35 |
MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4096"))
|
|
|
1 |
#!/usr/bin/env python
|
2 |
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
3 |
+
# of this software and associated documentation files (the "Software"), to deal
|
4 |
+
# in the Software without restriction, including without limitation the rights
|
5 |
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
6 |
+
# copies of the Software, and to permit persons to whom the Software is
|
7 |
+
|
8 |
import os
|
9 |
import random
|
10 |
import uuid
|
|
|
35 |
MODEL_OPTIONS = {
|
36 |
"REALVISXL V5.0": "SG161222/RealVisXL_V5.0",
|
37 |
"LIGHTNING V5.0": "SG161222/RealVisXL_V5.0_Lightning",
|
|
|
38 |
}
|
39 |
|
40 |
MAX_IMAGE_SIZE = int(os.getenv("MAX_IMAGE_SIZE", "4096"))
|