~ | g4f v-0.1.4.6 pip install -U g4f

This commit is contained in:
abc 2023-10-03 22:07:22 +01:00
parent f71a0c7dc9
commit 896d040c3e
3 changed files with 3 additions and 3 deletions

View File

@ -573,4 +573,4 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<a href="https://github.com/xtekky/gpt4free/stargazers">
<img width="500" alt="Star History Chart" src="https://api.star-history.com/svg?repos=xtekky/gpt4free&type=Date">
</a>
</a>

View File

@ -104,4 +104,4 @@ class Completion:
result = provider.create_completion(model.name,
[{"role": "user", "content": prompt}], stream, **kwargs)
return result if stream else ''.join(result)
return result if stream else ''.join(result)

View File

@ -73,4 +73,4 @@ setup(
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
],
)
)