Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,11 +18,12 @@ from transformers import pipeline
|
|
| 18 |
|
| 19 |
sys.path.append('.')
|
| 20 |
sys.path.append('./Time_TravelRephotography')
|
|
|
|
| 21 |
from argparse import Namespace
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
sys.path.insert(0, 'StyleGAN-Human')
|
| 27 |
|
| 28 |
TITLE = 'Time-TravelRephotography'
|
|
|
|
| 18 |
|
| 19 |
sys.path.append('.')
|
| 20 |
sys.path.append('./Time_TravelRephotography')
|
| 21 |
+
sys.path.append('./Time_TravelRephotography/losses')
|
| 22 |
from argparse import Namespace
|
| 23 |
+
from projector import (
|
| 24 |
+
ProjectorArguments,
|
| 25 |
+
main,
|
| 26 |
+
)
|
| 27 |
sys.path.insert(0, 'StyleGAN-Human')
|
| 28 |
|
| 29 |
TITLE = 'Time-TravelRephotography'
|