Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
monra
/
freegpt-webui
like
58
Running
App
Files
Files
Community
4
f037f7d
freegpt-webui
/
g4f
/
.v1
/
testing
/
t3nsor_test.py
monra
Adds all providers from the original API
d4adf88
over 1 year ago
raw
Copy download link
history
blame
Safe
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)