akhaliq HF staff commited on
Commit
89a6cc1
1 Parent(s): 4e5f844

small fix to get demo back up

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +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("\n")
19
 
20
  def parse_option():
21
  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("")
19
 
20
  def parse_option():
21
  parser = argparse.ArgumentParser('UniCL demo script', add_help=False)