feng2022 commited on
Commit
899b968
1 Parent(s): 84b4eea

Update app.py

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