mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 00:29:27 -04:00
~ | quick fix
This commit is contained in:
parent
2a52d844f3
commit
0ddfe57431
@ -53,7 +53,7 @@ class Api:
|
|||||||
'Content-Disposition'], 'max_age': 600}})
|
'Content-Disposition'], 'max_age': 600}})
|
||||||
|
|
||||||
self.app.route('/v1/models', methods=['GET'])(self.models)
|
self.app.route('/v1/models', methods=['GET'])(self.models)
|
||||||
self.app.route('v1/models/<model_id>', methods=['GET'])(self.model_info)
|
self.app.route('/v1/models/<model_id>', methods=['GET'])(self.model_info)
|
||||||
|
|
||||||
self.app.route('/v1/chat/completions', methods=['POST'])(self.chat_completions)
|
self.app.route('/v1/chat/completions', methods=['POST'])(self.chat_completions)
|
||||||
self.app.route('/v1/completions', methods=['POST'])(self.completions)
|
self.app.route('/v1/completions', methods=['POST'])(self.completions)
|
||||||
|
Loading…
Reference in New Issue
Block a user