Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,9 @@ from PIL import Image
|
|
3 |
import gradio as gr
|
4 |
import numpy
|
5 |
import torch
|
|
|
6 |
|
7 |
-
|
8 |
|
9 |
model_id_list = ['deprem-ml/Binafarktespit-yolo5x-v1-xview', 'SerdarHelli/deprem_satellite_labeled_yolov8']
|
10 |
current_device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
3 |
import gradio as gr
|
4 |
import numpy
|
5 |
import torch
|
6 |
+
import os
|
7 |
|
8 |
+
os.system('pip install git+https://github.com/fcakyon/ultralyticsplus.git')
|
9 |
|
10 |
model_id_list = ['deprem-ml/Binafarktespit-yolo5x-v1-xview', 'SerdarHelli/deprem_satellite_labeled_yolov8']
|
11 |
current_device = "cuda" if torch.cuda.is_available() else "cpu"
|