mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-10-06 08:46:53 +08:00
Improve tools support in OpenaiTemplate and GeminiPro
Update models in DDG, PerplexityLabs, Gemini Fix issues with curl_cffi in new versions
This commit is contained in:
@@ -76,7 +76,7 @@ class Backend_Api(Api):
|
||||
@app.route('/', methods=['GET'])
|
||||
@limiter.exempt
|
||||
def home():
|
||||
return render_template('demo.html')
|
||||
return render_template('demo.html', backend_url=os.environ.get("G4F_BACKEND_URL", ""))
|
||||
else:
|
||||
@app.route('/', methods=['GET'])
|
||||
def home():
|
||||
|
Reference in New Issue
Block a user