waveydaveygravy commited on
Commit
a61d495
·
1 Parent(s): 63b84fe

Upload IPfaceID.ipynb

Browse files
Files changed (1) hide show
  1. IPfaceID.ipynb +78 -0
IPfaceID.ipynb ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nbformat": 4,
3
+ "nbformat_minor": 0,
4
+ "metadata": {
5
+ "colab": {
6
+ "provenance": [],
7
+ "gpuType": "T4"
8
+ },
9
+ "kernelspec": {
10
+ "name": "python3",
11
+ "display_name": "Python 3"
12
+ },
13
+ "language_info": {
14
+ "name": "python"
15
+ },
16
+ "accelerator": "GPU"
17
+ },
18
+ "cells": [
19
+ {
20
+ "cell_type": "code",
21
+ "execution_count": null,
22
+ "metadata": {
23
+ "id": "Lmv6upTfKtUt"
24
+ },
25
+ "outputs": [],
26
+ "source": [
27
+ "!wget https://huggingface.co/waveydaveygravy/Ip-Adapter-FaceID/resolve/main/ipface.zip\n",
28
+ "!git lfs install"
29
+ ]
30
+ },
31
+ {
32
+ "cell_type": "code",
33
+ "source": [
34
+ "!unzip /content/ipface.zip"
35
+ ],
36
+ "metadata": {
37
+ "id": "l3RHjuXxK74v"
38
+ },
39
+ "execution_count": null,
40
+ "outputs": []
41
+ },
42
+ {
43
+ "cell_type": "code",
44
+ "source": [
45
+ "#====MOVE the unzipped directory ipface to /content/ then delete empty content folder==="
46
+ ],
47
+ "metadata": {
48
+ "id": "8kr2bdivNdHF"
49
+ },
50
+ "execution_count": null,
51
+ "outputs": []
52
+ },
53
+ {
54
+ "cell_type": "code",
55
+ "source": [
56
+ "%cd /content/Ip-Adapter-FaceID\n",
57
+ "!pip install -r requirements.txt\n",
58
+ "!pip install https://github.com/karaokenerds/python-audio-separator/releases/download/v0.12.1/onnxruntime_gpu-1.17.0-cp310-cp310-linux_x86_64.whl"
59
+ ],
60
+ "metadata": {
61
+ "id": "LtjYQa2hLJpn"
62
+ },
63
+ "execution_count": null,
64
+ "outputs": []
65
+ },
66
+ {
67
+ "cell_type": "code",
68
+ "source": [
69
+ "!python /content/Ip-Adapter-FaceID/app.py"
70
+ ],
71
+ "metadata": {
72
+ "id": "yktcqjv1LeIX"
73
+ },
74
+ "execution_count": null,
75
+ "outputs": []
76
+ }
77
+ ]
78
+ }