unknown commited on
Commit
eab8425
1 Parent(s): 8bcb9c5

'update_logo'

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. foleycrafter.png +0 -0
app.py CHANGED
@@ -209,7 +209,7 @@ controller = FoleyController()
209
  def ui():
210
  with gr.Blocks(css=css) as demo:
211
  gr.HTML(
212
- "<div align='center'><font size='6'>FoleyCrafter: Bring Silent Videos to Life with Lifelike and Synchronized Sounds</font></div>"
213
  )
214
  with gr.Row():
215
  gr.Markdown(
@@ -273,4 +273,4 @@ def ui():
273
  if __name__ == "__main__":
274
  demo = ui()
275
  demo.queue(3)
276
- demo.launch(server_name=args.server_name, server_port=args.port, share=args.share)
 
209
  def ui():
210
  with gr.Blocks(css=css) as demo:
211
  gr.HTML(
212
+ '<h1 style="height: 136px; display: flex; align-items: center; justify-content: space-around;"><span style="height: 100%; width:136px;"><img src="file/foleycrafter.png" alt="logo" style="height: 100%; width:auto; object-fit: contain; margin: 0px 0px; padding: 0px 0px;"></span><strong style="font-size: 40px;">FoleyCrafter: Bring Silent Videos to Life with Lifelike and Synchronized Sounds</strong></h1>'
213
  )
214
  with gr.Row():
215
  gr.Markdown(
 
273
  if __name__ == "__main__":
274
  demo = ui()
275
  demo.queue(3)
276
+ demo.launch(server_name=args.server_name, server_port=args.port, share=args.share, allowed_paths=["./foleycrafter.png"])
foleycrafter.png ADDED