Spaces:
Running
Running
felixrosberg
commited on
Commit
β’
4028c0f
1
Parent(s):
8c0edf3
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio
|
2 |
from huggingface_hub import Repository
|
|
|
3 |
|
4 |
from utils.utils import norm_crop, estimate_norm, inverse_estimate_norm, transform_landmark_points, get_lm
|
5 |
from networks.layers import AdaIN, AdaptiveAttention
|
@@ -14,7 +15,7 @@ from options.swap_options import SwapOptions
|
|
14 |
|
15 |
# Invalidated!
|
16 |
token = "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"
|
17 |
-
print(
|
18 |
|
19 |
opt = SwapOptions().parse()
|
20 |
|
|
|
1 |
import gradio
|
2 |
from huggingface_hub import Repository
|
3 |
+
import os
|
4 |
|
5 |
from utils.utils import norm_crop, estimate_norm, inverse_estimate_norm, transform_landmark_points, get_lm
|
6 |
from networks.layers import AdaIN, AdaptiveAttention
|
|
|
15 |
|
16 |
# Invalidated!
|
17 |
token = "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"
|
18 |
+
print(os.environ)
|
19 |
|
20 |
opt = SwapOptions().parse()
|
21 |
|