Skip to content
Snippets Groups Projects
Commit c33f8bb7 authored by BIRK Renaud's avatar BIRK Renaud
Browse files

fix: API GET /render

parent 308a3e24
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,9 @@ def setup_routes(app):
@app.route('/render', methods=['GET'])
def get_render():
return render_controller.get_render()
hf_token = request.args.get('hf_token', '', type=str)
return render_controller.get_render(hf_token)
@app.route('/suggest', methods=['GET'])
def get_suggest():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment