Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,13 +1,3 @@
|
|
| 1 |
-
#!/usr/bin/env python
|
| 2 |
-
#patch 2.0 ()
|
| 3 |
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 4 |
-
# of this software and associated documentation files (the "Software"), to deal
|
| 5 |
-
# in the Software without restriction, including without limitation the rights
|
| 6 |
-
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 7 |
-
# copies of the Software, and to permit persons to whom the Software is
|
| 8 |
-
# furnished to do so, subject to the following conditions:
|
| 9 |
-
#
|
| 10 |
-
# ...
|
| 11 |
import os
|
| 12 |
import random
|
| 13 |
import uuid
|
|
@@ -19,14 +9,6 @@ import spaces
|
|
| 19 |
import torch
|
| 20 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
| 21 |
|
| 22 |
-
#Load the HTML content
|
| 23 |
-
#html_file_url = "https://prithivmlmods-hamster-static.static.hf.space/index.html"
|
| 24 |
-
#html_content = f'<iframe src="{html_file_url}" style="width:100%; height:180px; border:none;"></iframe>'
|
| 25 |
-
#html_file_url = "https://prithivmlmods-static-loading-theme.static.hf.space/index.html"
|
| 26 |
-
|
| 27 |
-
#html_file_url = "https://prithivhamster.vercel.app/"
|
| 28 |
-
#html_content = f'<iframe src="{html_file_url}" style="width:100%; height:400px; border:none"></iframe>'
|
| 29 |
-
|
| 30 |
DESCRIPTIONx = """## STABLE HAMSTER 🐹
|
| 31 |
|
| 32 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import os
|
| 2 |
import random
|
| 3 |
import uuid
|
|
|
|
| 9 |
import torch
|
| 10 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
DESCRIPTIONx = """## STABLE HAMSTER 🐹
|
| 13 |
|
| 14 |
"""
|