Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,10 +14,12 @@ import torch
|
|
| 14 |
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 |
from argparse import Namespace
|
| 20 |
-
from
|
| 21 |
ProjectorArguments,
|
| 22 |
main,
|
| 23 |
)
|
|
|
|
| 14 |
import torch_utils
|
| 15 |
import torch.nn as nn
|
| 16 |
from huggingface_hub import hf_hub_download
|
|
|
|
| 17 |
from transformers import pipeline
|
| 18 |
+
|
| 19 |
+
os.chdir("/Time-Travel-Rephotography")
|
| 20 |
+
from utils import torch_helpers as th
|
| 21 |
from argparse import Namespace
|
| 22 |
+
from projector import (
|
| 23 |
ProjectorArguments,
|
| 24 |
main,
|
| 25 |
)
|