Add Image Recognition Lab
This commit is contained in:
33
ImageRecognitionLab/build.gradle
Normal file
33
ImageRecognitionLab/build.gradle
Normal file
@@ -0,0 +1,33 @@
|
||||
import org.springframework.boot.gradle.plugin.SpringBootPlugin
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'org.springframework.boot'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
|
||||
description = "Sentiment Analysis Lab"
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_21
|
||||
targetCompatibility = JavaVersion.VERSION_21
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencyManagement {
|
||||
imports {
|
||||
mavenBom SpringBootPlugin.BOM_COORDINATES
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
|
||||
implementation 'ai.djl:api:0.33.0'
|
||||
implementation 'ai.djl.pytorch:pytorch-engine:0.33.0'
|
||||
implementation 'ai.djl.pytorch:pytorch-model-zoo:0.33.0'
|
||||
|
||||
runtimeOnly 'org.springframework.boot:spring-boot-devtools'
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||||
}
|
||||
Reference in New Issue
Block a user