feng2022 commited on
Commit
cc52c45
1 Parent(s): d301934

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -16,7 +16,9 @@ import torch.nn as nn
16
  from huggingface_hub import hf_hub_download
17
  from transformers import pipeline
18
 
19
-
 
 
20
  from argparse import Namespace
21
  from projector import (
22
  ProjectorArguments,
@@ -63,4 +65,4 @@ def main():
63
  iface.launch()
64
 
65
  if __name__ == '__main__':
66
- main()
 
16
  from huggingface_hub import hf_hub_download
17
  from transformers import pipeline
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,
 
65
  iface.launch()
66
 
67
  if __name__ == '__main__':
68
+ main()