altawil commited on
Commit
48aa407
·
verified ·
1 Parent(s): 8630645

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -3,14 +3,14 @@
3
  import uuid
4
  import base64
5
  import cv2
6
- # import torch
7
- # import numpy as np
8
- # from fastapi import FastAPI, HTTPException
9
- # from fastapi.responses import HTMLResponse
10
- # from pydantic import BaseModel
11
- # from torchvision import transforms
12
- # from typing import List, Dict, Any, Optional
13
- # import logging
14
 
15
  # # استيراد من ملفاتنا المحلية
16
  # from model_definition import InterfuserModel, load_and_prepare_model, create_model_config
 
3
  import uuid
4
  import base64
5
  import cv2
6
+ import torch
7
+ import numpy as np
8
+ from fastapi import FastAPI, HTTPException
9
+ from fastapi.responses import HTMLResponse
10
+ from pydantic import BaseModel
11
+ from torchvision import transforms
12
+ from typing import List, Dict, Any, Optional
13
+ import logging
14
 
15
  # # استيراد من ملفاتنا المحلية
16
  # from model_definition import InterfuserModel, load_and_prepare_model, create_model_config