freegpt-webui / g4f /.v1 /testing /italygpt2_test.py
monra's picture
Adds all providers from the original API
d4adf88
raw
history blame
198 Bytes
from gpt4free import italygpt2
account_data=italygpt2.Account.create()
for chunk in italygpt2.Completion.create(account_data=account_data,prompt="Who are you?"):
print(chunk, end="", flush=True)