Jacob Logas
commited on
Commit
·
fc10802
1
Parent(s):
f958f9c
Debug printing for huggingface tmp exploration
Browse files- app.py +1 -0
- requirements.txt +0 -1
- requirements_personal.txt +2 -0
app.py
CHANGED
@@ -2,6 +2,7 @@ from fawkes.protection import Fawkes
|
|
2 |
import gradio as gr
|
3 |
|
4 |
def predict(level, img):
|
|
|
5 |
fwks = Fawkes("extractor_2", '0', 1, mode=level)
|
6 |
fwks.run_protection([img], format='jpeg')
|
7 |
splt = img.split(".")
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
def predict(level, img):
|
5 |
+
print(img)
|
6 |
fwks = Fawkes("extractor_2", '0', 1, mode=level)
|
7 |
fwks.run_protection([img], format='jpeg')
|
8 |
splt = img.split(".")
|
requirements.txt
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
gradio==3.0.20
|
2 |
fawkes==1.0.4
|
|
|
|
|
1 |
fawkes==1.0.4
|
requirements_personal.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
gradio==3.0.20
|
2 |
+
fawkes==1.0.4
|