Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
Commit
β’
96a862d
1
Parent(s):
0038967
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ from src.model import make_1step_sched
|
|
16 |
from src.pix2pix_turbo import Pix2Pix_Turbo
|
17 |
|
18 |
model = Pix2Pix_Turbo("sketch_to_image_stochastic")
|
19 |
-
|
20 |
ITEMS_NAMES = [ "π‘ Lamp","π Bag","ποΈ Sofa","πͺ Chair","ποΈ Car","ποΈ Motorbike"]
|
21 |
MAX_SEED = np.iinfo(np.int32).max
|
22 |
DEFAULT_ITEM_NAME = "π‘ Lamp"
|
@@ -157,9 +157,10 @@ async () => {
|
|
157 |
}
|
158 |
}
|
159 |
"""
|
160 |
-
head = """<meta name="theme-color" content="#000">"""
|
161 |
|
162 |
-
with gr.Blocks(css="style.css", head=
|
|
|
|
|
163 |
gr.HTML("""<div id="header_block">
|
164 |
<h1>Scopri la magia del nuovo<br />design Made in Italy</h1>
|
165 |
<div id="logos_block">
|
|
|
16 |
from src.pix2pix_turbo import Pix2Pix_Turbo
|
17 |
|
18 |
model = Pix2Pix_Turbo("sketch_to_image_stochastic")
|
19 |
+
|
20 |
ITEMS_NAMES = [ "π‘ Lamp","π Bag","ποΈ Sofa","πͺ Chair","ποΈ Car","ποΈ Motorbike"]
|
21 |
MAX_SEED = np.iinfo(np.int32).max
|
22 |
DEFAULT_ITEM_NAME = "π‘ Lamp"
|
|
|
157 |
}
|
158 |
}
|
159 |
"""
|
|
|
160 |
|
161 |
+
with gr.Blocks(css="style.css", head="""<meta name="theme-color" content="#000">
|
162 |
+
<link href="https://fonts.cdnfonts.com/css/pp-neue-montreal" rel="stylesheet">
|
163 |
+
""") as demo:
|
164 |
gr.HTML("""<div id="header_block">
|
165 |
<h1>Scopri la magia del nuovo<br />design Made in Italy</h1>
|
166 |
<div id="logos_block">
|