banyapon commited on
Commit
627c16c
·
1 Parent(s): 22186ec

Add Header Image file

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -65,12 +65,13 @@ def swap_face(source_file, target_file, doFaceEnhancer):
65
  start()
66
  return output_path
67
 
68
- with gr.Blocks() as demo:
 
 
69
  gr.Markdown(
70
  """
71
- # Face Swap with Face Enhancer
72
-
73
- Upload a source image and a target video, select whether to enable face enhancer, and click 'Submit' to swap faces in the video.
74
  """
75
  )
76
 
 
65
  start()
66
  return output_path
67
 
68
+ with gr.Blocks(title="ROOP DeepFake Video", css=".gradio-container {background-color: #f0f0f0}") as demo:
69
+ gr.HTML(f'<div style="text-align: center;"><img src="https://www.dpu.ac.th/img/Logo_update_080720.png" width="200"></div>') # Header image
70
+
71
  gr.Markdown(
72
  """
73
+ ## Create DeepFake Video
74
+ Upload a source image and a target video, select whether to enable face enhancer, many-face mode and adjust video quality. Then click 'Submit' to swap faces in the video.
 
75
  """
76
  )
77