Ashrafb commited on
Commit
32f813c
·
1 Parent(s): f28c8a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ source_file = st.file_uploader("Upload source image")
51
  target_file = st.file_uploader("Upload target image")
52
  mode = st.radio("Choose Mode", ("Face Swapper", "Face Enhancer"))
53
 
54
- if source_file and target_file and st.button("Swap Faces"):
55
  result = run_scripts(target_file, source_file, mode)
56
  if result:
57
  st.image(result) # Display the result as an image
 
51
  target_file = st.file_uploader("Upload target image")
52
  mode = st.radio("Choose Mode", ("Face Swapper", "Face Enhancer"))
53
 
54
+ if source_file and target_file and st.button("Run"):
55
  result = run_scripts(target_file, source_file, mode)
56
  if result:
57
  st.image(result) # Display the result as an image