jw2yang commited on
Commit
4e5f844
1 Parent(s): 5ce420d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -15,8 +15,7 @@ from model import build_model
15
 
16
  # Download human-readable labels for ImageNet.
17
  response = requests.get("https://git.io/JJkYN")
18
- labels = response.text.split("
19
- ")
20
 
21
  def parse_option():
22
  parser = argparse.ArgumentParser('UniCL demo script', add_help=False)
 
15
 
16
  # Download human-readable labels for ImageNet.
17
  response = requests.get("https://git.io/JJkYN")
18
+ labels = response.text.split("\n")
 
19
 
20
  def parse_option():
21
  parser = argparse.ArgumentParser('UniCL demo script', add_help=False)