yonigozlan HF Staff commited on
Commit
d7256dc
·
1 Parent(s): f724e0a

Fix wrong model title

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -716,6 +716,8 @@ class TransformersTimelineParser:
716
 
717
  for line in lines:
718
  line = line.strip()
 
 
719
  if line.startswith("# ") and not line.startswith("# Overview"):
720
  title = line[2:].strip()
721
  return title
 
716
 
717
  for line in lines:
718
  line = line.strip()
719
+ if line.startswith("```python"):
720
+ break
721
  if line.startswith("# ") and not line.startswith("# Overview"):
722
  title = line[2:].strip()
723
  return title