返回提交历史
Modified
tool/readme_table.py
+9
-9
XFEstudio/gpt4free
~
66e76604
代码差异
1 个文件
+9
-9
@@ -74,7 +74,7 @@ def print_providers():
74
74
]
75
75
76
76
providers = get_providers()
77
#responses = asyncio.run(test_async_list(providers))
77
responses = asyncio.run(test_async_list(providers))
78
78
79
79
for is_working in (True, False):
80
80
for idx, _provider in enumerate(providers):
@@ -94,10 +94,10 @@ def print_providers():
94
94
can_async = "✔️" if issubclass(_provider, AsyncProvider) else "❌"
95
95
if _provider.working:
96
96
status = ''
97
# if responses[idx]:
98
# status = ''
99
# else:
100
# status = ''
97
if responses[idx]:
98
status = ''
99
else:
100
status = ''
101
101
else:
102
102
status = ''
103
103
auth = "✔️" if _provider.needs_auth else "❌"
@@ -151,8 +151,8 @@ def get_models():
151
151
152
152
153
153
if __name__ == "__main__":
154
# print_imports()
155
# print_async()
154
print_imports()
155
print_async()
156
156
print_providers()
157
# print("\n", "-" * 50, "\n")
158
# print_models()
157
print("\n", "-" * 50, "\n")
158
print_models()