Spaces:
Runtime error
Runtime error
Update fawkes_wrapper_gradio_v_1_0.py
Browse files
fawkes_wrapper_gradio_v_1_0.py
CHANGED
|
@@ -21,9 +21,9 @@ PREPROCESS = 'raw'
|
|
| 21 |
class FawkesProtection:
|
| 22 |
def __init__(self):
|
| 23 |
# Initialize Fawkes instances for different protection levels
|
| 24 |
-
self.fwks_l = Fawkes("extractor_2", '0', 1,
|
| 25 |
-
self.fwks_m = Fawkes("extractor_2", '0', 1,
|
| 26 |
-
self.fwks_h = Fawkes("extractor_2", '0', 1,
|
| 27 |
|
| 28 |
# Rest of the code remains the same
|
| 29 |
|
|
|
|
| 21 |
class FawkesProtection:
|
| 22 |
def __init__(self):
|
| 23 |
# Initialize Fawkes instances for different protection levels
|
| 24 |
+
self.fwks_l = Fawkes("extractor_2", '0', 1, mode='low')
|
| 25 |
+
self.fwks_m = Fawkes("extractor_2", '0', 1, mode='mid')
|
| 26 |
+
self.fwks_h = Fawkes("extractor_2", '0', 1, mode='high')
|
| 27 |
|
| 28 |
# Rest of the code remains the same
|
| 29 |
|