llms and depracations pt.2

This commit is contained in:
Kavish Devar
2025-01-11 01:33:00 +05:30
parent c2ecc93d98
commit 6c43a69542
3 changed files with 1 additions and 2 deletions

View File

@@ -320,7 +320,7 @@ def api():
# Return the patched file directly
try:
return send_file(file_path, as_attachment=True, attachment_filename=library_name)
return send_file(file_path, as_attachment=True, download_name=library_name)
except Exception as e:
logger.error(f"Error sending file: {str(e)}")
return jsonify({"error": f"Error sending file: {str(e)}"}), 500

Binary file not shown.

View File

@@ -1,6 +1,5 @@
#!/system/bin/sh
# Define variables
API_URL="https://aln.kavishdevar.me/api"
TEMP_DIR="$TMPDIR/aln_patch"