mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-10-18 22:24:36 +08:00
Handle demo modus in Web UI
This commit is contained in:
@@ -71,7 +71,9 @@ class Backend_Api(Api):
|
||||
else:
|
||||
class Dummy():
|
||||
def limit(self, value):
|
||||
pass
|
||||
def callback(v):
|
||||
return v
|
||||
return callback
|
||||
limiter = Dummy()
|
||||
|
||||
@app.route('/backend-api/v2/models', methods=['GET'])
|
||||
|
Reference in New Issue
Block a user