mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-26 04:33:35 +03:00
8b4e40d82a
will add image generation later on
7 lines
186 B
Python
7 lines
186 B
Python
import t3nsor
|
|
|
|
for response in t3nsor.StreamCompletion.create(
|
|
prompt = 'write python code to reverse a string',
|
|
messages = []):
|
|
|
|
print(response.completion.choices[0].text) |