svjack commited on
Commit
9563db2
Β·
verified Β·
1 Parent(s): 51bc23e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -0
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