Open glebmiller opened 1 year ago
may I recommend using your own server? Ngrok and Flask seems to be working great. just point the inputdisparityurl to it and accept POST and PUT, I hope that helps. Example:
from flask import Flask, request, send_from_directory
import os
app = Flask(__name__, static_folder='static')
@app.route('/', methods=['POST', 'PUT'])
def handle_post():
image_data = request.data
# Save the image data to a file in the static directory
with open('static/received_image.png', 'wb') as f:
f.write(image_data)
return '', 200
@app.route('/static/<path:path>')
def send_image(path):
return send_from_directory('static', path)
if __name__ == '__main__':
app.run(port=5000)
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
Hello, I'm trying to use the API, but I don't use s3 bucket or other cloud storages, I've configured url presigning on my ec2 instance. making disparity images works great, the image is uploaded, no issue. I use the same function to make resigned urls for uploads, so I don't think that's the issue.
but I have an error when trying actual animation. can it be fixed? I'm writing here, because discord invite link has expired