minhwai commited on
Commit
c98abc8
·
verified ·
1 Parent(s): 9af7098

Update app.py

Browse files

"라이브러리 추가"

Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1,10 +1,11 @@
 
1
  import streamlit as st
 
 
 
2
  import torch
3
  from diffusers import StableDiffusionPipeline
4
- from PIL import Image
5
- import numpy as np
6
  import io
7
- import requests
8
 
9
  # Function to apply deepfake-like transformation using Stable Diffusion
10
  def apply_deepfake(image):
 
1
+ import requests
2
  import streamlit as st
3
+ import cv2
4
+ import numpy as np
5
+ from PIL import Image
6
  import torch
7
  from diffusers import StableDiffusionPipeline
 
 
8
  import io
 
9
 
10
  # Function to apply deepfake-like transformation using Stable Diffusion
11
  def apply_deepfake(image):