yonikremer commited on
Commit
d3a17fc
1 Parent(s): 6eb1b44

Bug fix: compatibility issue

Browse files
Files changed (1) hide show
  1. supported_models.py +2 -2
supported_models.py CHANGED
@@ -1,4 +1,4 @@
1
- from typing import Generator
2
 
3
  import requests
4
  from bs4 import BeautifulSoup
@@ -37,5 +37,5 @@ def generate_supported_model_names() -> Generator[str, None, None]:
37
  yield from get_model_names(soup)
38
 
39
 
40
- def get_supported_model_names() -> set[str]:
41
  return set(generate_supported_model_names())
 
1
+ from typing import Generator, Set
2
 
3
  import requests
4
  from bs4 import BeautifulSoup
 
37
  yield from get_model_names(soup)
38
 
39
 
40
+ def get_supported_model_names() -> Set[str]:
41
  return set(generate_supported_model_names())