JohnAlexander23 commited on
Commit
8f18ffe
·
verified ·
1 Parent(s): 9800c76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -4
app.py CHANGED
@@ -91,9 +91,15 @@ print ("IMAGE MODEL CKPT:", MODEL_NAME)
91
  load_network(model, MODEL_NAME, strict=True, param_key='params')
92
 
93
 
94
-
95
-
96
- title = "Clear Image by Dl Titans"
 
 
 
 
 
 
97
 
98
 
99
  #### Image,Prompts examples
@@ -123,6 +129,7 @@ css = """
123
  }
124
  """
125
 
 
126
  demo = gr.Interface(
127
  fn=process_img,
128
  inputs=[gr.Image(type="pil", label="Input", value="images/0878x4.png"),],
@@ -138,4 +145,6 @@ demo = gr.Interface(
138
  )
139
 
140
  if __name__ == "__main__":
141
- demo.launch()
 
 
 
91
  load_network(model, MODEL_NAME, strict=True, param_key='params')
92
 
93
 
94
+ # Footer
95
+ st.markdown(
96
+ """
97
+ <footer>
98
+ By DL Titans
99
+ </footer>
100
+ """,
101
+ unsafe_allow_html=True
102
+ )
103
 
104
 
105
  #### Image,Prompts examples
 
129
  }
130
  """
131
 
132
+
133
  demo = gr.Interface(
134
  fn=process_img,
135
  inputs=[gr.Image(type="pil", label="Input", value="images/0878x4.png"),],
 
145
  )
146
 
147
  if __name__ == "__main__":
148
+ demo.launch()
149
+
150
+