feng2022 commited on
Commit
e9c3dad
1 Parent(s): 0d2107b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ import torch
14
  import torch_utils
15
  import torch.nn as nn
16
  from huggingface_hub import hf_hub_download
17
-
18
  sys.path.insert(0, 'StyleGAN-Human')
19
 
20
  TITLE = 'Time-TravelRephotography'
@@ -24,7 +24,7 @@ ARTICLE = '<center><img src="https://visitor-badge.glitch.me/badge?page_id=hysts
24
 
25
  TOKEN = "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"
26
 
27
- from transformers import pipeline
28
 
29
  pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-en-es")
30
 
 
14
  import torch_utils
15
  import torch.nn as nn
16
  from huggingface_hub import hf_hub_download
17
+ from transformers import pipeline
18
  sys.path.insert(0, 'StyleGAN-Human')
19
 
20
  TITLE = 'Time-TravelRephotography'
 
24
 
25
  TOKEN = "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"
26
 
27
+
28
 
29
  pipe = pipeline("translation", model="Helsinki-NLP/opus-mt-en-es")
30