victorisgeek commited on
Commit
71749be
·
verified ·
1 Parent(s): 4e97cce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -1,11 +1,17 @@
1
  import subprocess
2
-
3
  # Install Gradio
4
  subprocess.run(["pip", "install", "gradio"])
5
 
6
  # Import Gradio
7
  import gradio as gr
 
 
 
8
 
 
 
 
9
  # Define your face swapping function here
10
  def swapped_image(image):
11
  # Your face swapping logic here
 
1
  import subprocess
2
+ import time
3
  # Install Gradio
4
  subprocess.run(["pip", "install", "gradio"])
5
 
6
  # Import Gradio
7
  import gradio as gr
8
+ from gradio.themes.utils.theme_dropdown import create_theme_dropdown
9
+
10
+ dropdown, js = create_theme_dropdown()
11
 
12
+ with gr.Blocks(theme='victorisgeek/gray') as demo:
13
+ with gr.Row(equal_height=True):
14
+ with gr.Column(scale=10):
15
  # Define your face swapping function here
16
  def swapped_image(image):
17
  # Your face swapping logic here