francescoKrnl commited on
Commit
96a862d
β€’
1 Parent(s): 0038967

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
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=head) as demo:
 
 
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">