Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,23 +1,9 @@
|
|
1 |
import streamlit as st
|
2 |
-
from PIL import Image
|
3 |
-
import tempfile
|
4 |
-
import os
|
5 |
-
import numpy as np
|
6 |
-
import cv2
|
7 |
-
import torch
|
8 |
import difflib
|
9 |
import re
|
10 |
import requests
|
11 |
import datetime
|
12 |
import streamlit.components.v1 as components
|
13 |
-
import io
|
14 |
-
|
15 |
-
from diffusers import DiffusionPipeline
|
16 |
-
from moviepy.editor import ImageSequenceClip
|
17 |
-
|
18 |
-
import insightface
|
19 |
-
from insightface.app import FaceAnalysis
|
20 |
-
from insightface.utils import face_align
|
21 |
|
22 |
# --- CONFIG ---
|
23 |
# Place your API keys here
|
|
|
1 |
import streamlit as st
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
import difflib
|
3 |
import re
|
4 |
import requests
|
5 |
import datetime
|
6 |
import streamlit.components.v1 as components
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
# --- CONFIG ---
|
9 |
# Place your API keys here
|