Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
# Install required packages
|
|
|
2 |
import subprocess
|
3 |
import sys
|
4 |
|
@@ -25,7 +26,6 @@ from deepface import DeepFace
|
|
25 |
import matplotlib.pyplot as plt
|
26 |
from PIL import Image
|
27 |
import tempfile
|
28 |
-
import os
|
29 |
import pandas as pd
|
30 |
import shutil
|
31 |
|
@@ -488,4 +488,4 @@ with gr.Blocks(title="Complete Face Recognition Tool", theme=gr.themes.Soft()) a
|
|
488 |
""")
|
489 |
|
490 |
# Launch the app
|
491 |
-
demo.launch()
|
|
|
1 |
# Install required packages
|
2 |
+
import os # Added this import at the top
|
3 |
import subprocess
|
4 |
import sys
|
5 |
|
|
|
26 |
import matplotlib.pyplot as plt
|
27 |
from PIL import Image
|
28 |
import tempfile
|
|
|
29 |
import pandas as pd
|
30 |
import shutil
|
31 |
|
|
|
488 |
""")
|
489 |
|
490 |
# Launch the app
|
491 |
+
demo.launch()
|