Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,12 @@ import torch_utils
|
|
| 15 |
import torch.nn as nn
|
| 16 |
from huggingface_hub import hf_hub_download
|
| 17 |
from Time_TravelRephotography.utils import torch_helpers as th
|
| 18 |
-
from transformers import pipeline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
sys.path.insert(0, 'StyleGAN-Human')
|
| 20 |
|
| 21 |
TITLE = 'Time-TravelRephotography'
|
|
|
|
| 15 |
import torch.nn as nn
|
| 16 |
from huggingface_hub import hf_hub_download
|
| 17 |
from Time_TravelRephotography.utils import torch_helpers as th
|
| 18 |
+
from Time_TravelRephotography.transformers import pipeline
|
| 19 |
+
from Time_TravelRephotography.argparse import Namespace
|
| 20 |
+
from projector import (
|
| 21 |
+
ProjectorArguments,
|
| 22 |
+
main,
|
| 23 |
+
)
|
| 24 |
sys.path.insert(0, 'StyleGAN-Human')
|
| 25 |
|
| 26 |
TITLE = 'Time-TravelRephotography'
|