gpt4free / g4f /.v1 /testing /t3nsor_test.py
101-5's picture
Duplicate from justest/gpt4free
2ee8daf
raw
history blame
171 Bytes
import t3nsor
for response in t3nsor.StreamCompletion.create(prompt='write python code to reverse a string', messages=[]):
print(response.completion.choices[0].text)