Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ BOT_AVATAR = "https://shfra.netlify.app/9121959e-df49-4796-a8b2-eb85f6368976.png
|
|
| 15 |
os.makedirs(UPLOAD_FOLDER, exist_ok=True)
|
| 16 |
|
| 17 |
# إعدادات الصور
|
| 18 |
-
IMAGE_WIDTH =
|
| 19 |
|
| 20 |
def preprocess_image(image: Image.Image) -> Image.Image:
|
| 21 |
image_height = int(image.height * IMAGE_WIDTH / image.width)
|
|
|
|
| 15 |
os.makedirs(UPLOAD_FOLDER, exist_ok=True)
|
| 16 |
|
| 17 |
# إعدادات الصور
|
| 18 |
+
IMAGE_WIDTH = 1111
|
| 19 |
|
| 20 |
def preprocess_image(image: Image.Image) -> Image.Image:
|
| 21 |
image_height = int(image.height * IMAGE_WIDTH / image.width)
|