adamelliotfields commited on
Commit
9dbd867
β€’
1 Parent(s): c02c46c

Fix heading on mobile

Browse files
0_🏠_Home.py CHANGED
@@ -36,7 +36,7 @@ st.html("""
36
  }
37
  </style>
38
  <div style="display: flex; align-items: center; gap: 0.75rem">
39
- <h1 style="padding: 0; margin-bottom: 0.5rem">API Inference</h1>
40
  <span class="pro-badge">PRO</span>
41
  </div>
42
  <p>Inference on Huggingface, Perplexity, and Fal ⚑</p>
 
36
  }
37
  </style>
38
  <div style="display: flex; align-items: center; gap: 0.75rem">
39
+ <h1>API Inference</h1>
40
  <span class="pro-badge">PRO</span>
41
  </div>
42
  <p>Inference on Huggingface, Perplexity, and Fal ⚑</p>
pages/1_πŸ’¬_Text_Generation.py CHANGED
@@ -119,7 +119,7 @@ for param in preset["parameters"]:
119
 
120
  # heading
121
  st.html("""
122
- <h1 style="padding: 0; margin-bottom: 0.5rem">Text Generation</h1>
123
  <p>Chat with large language models.</p>
124
  """)
125
 
 
119
 
120
  # heading
121
  st.html("""
122
+ <h1>Text Generation</h1>
123
  <p>Chat with large language models.</p>
124
  """)
125
 
pages/2_🎨_Text_to_Image.py CHANGED
@@ -80,7 +80,7 @@ model = st.sidebar.selectbox(
80
 
81
  # heading
82
  st.html("""
83
- <h1 style="padding: 0; margin-bottom: 0.5rem">Text to Image</h1>
84
  <p>Generate an image from a text prompt.</p>
85
  """)
86
 
 
80
 
81
  # heading
82
  st.html("""
83
+ <h1>Text to Image</h1>
84
  <p>Generate an image from a text prompt.</p>
85
  """)
86