Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
import os
|
|
|
1 |
+
'''
|
2 |
+
sudo apt-get update && sudo apt-get install git-lfs ffmpeg cbm
|
3 |
+
# Clone this repository
|
4 |
+
git clone https://huggingface.co/spaces/svjack/ConsistentID-SDXL
|
5 |
+
# Go into the repository
|
6 |
+
cd ConsistentID-SDXL
|
7 |
+
### Install dependencies ###
|
8 |
+
conda create --name py310 python=3.10
|
9 |
+
conda activate py310
|
10 |
+
# Install ipykernel and add the environment to Jupyter
|
11 |
+
pip install ipykernel
|
12 |
+
python -m ipykernel install --user --name py310 --display-name "video"
|
13 |
+
pip install -r requirements.txt
|
14 |
+
python app.py
|
15 |
+
'''
|
16 |
+
|
17 |
import gradio as gr
|
18 |
import torch
|
19 |
import os
|