kadirnar commited on
Commit
3f98b8c
1 Parent(s): 9c5ce29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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"