fw7th commited on
Commit
8230b7b
·
1 Parent(s): 22408f1

fixed footer

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -106,7 +106,7 @@ body, .gradio-container {
106
  flex: 1 0 auto;
107
  }
108
 
109
- .footer {
110
  flex-shrink: 0;
111
  text-align: center;
112
  font-size: 0.80rem;
@@ -115,6 +115,8 @@ body, .gradio-container {
115
  border-top: 1px solid rgba(var(--block-border-color-rgb), 0.12);
116
  margin-top: 25px;
117
  }
 
 
118
  """
119
 
120
 
@@ -160,7 +162,9 @@ with gr.Blocks(
160
 
161
  classify_txt_btn.click(classify_toxic, inputs=txt_in, outputs=txt_out)
162
 
163
- gr.Markdown("<div class='footer'>Demo by 7th • Powered by Transformers</div>")
 
 
164
 
165
  if __name__ == "__main__":
166
  demo.launch(share=True, analytics_enabled=False)
 
106
  flex: 1 0 auto;
107
  }
108
 
109
+ .footer-custom {
110
  flex-shrink: 0;
111
  text-align: center;
112
  font-size: 0.80rem;
 
115
  border-top: 1px solid rgba(var(--block-border-color-rgb), 0.12);
116
  margin-top: 25px;
117
  }
118
+
119
+ footer {display: none !important}
120
  """
121
 
122
 
 
162
 
163
  classify_txt_btn.click(classify_toxic, inputs=txt_in, outputs=txt_out)
164
 
165
+ gr.Markdown(
166
+ "<div class='footer-custom'>Demo by 7th • Powered by Transformers</div>"
167
+ )
168
 
169
  if __name__ == "__main__":
170
  demo.launch(share=True, analytics_enabled=False)