Switch back to fun main()
This commit is contained in:
@@ -5,7 +5,7 @@ import org.openrndr.extra.runway.*
|
||||
/**
|
||||
* This example requires a `runway/BASNet` model to be active in Runway.
|
||||
*/
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 331
|
||||
height = 400
|
||||
|
||||
@@ -12,7 +12,7 @@ import org.openrndr.math.smoothstep
|
||||
* This example requires a `runway/BigBiGAN` model to be active in Runway.
|
||||
*/
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 512
|
||||
height = 256
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.openrndr.extra.runway.*
|
||||
* generated image back into the model (with an additional distortion).
|
||||
* This example requires a `runway/BigBiGAN` model to be active in Runway.
|
||||
*/
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 512
|
||||
height = 512
|
||||
|
||||
@@ -12,7 +12,7 @@ import java.io.File
|
||||
* This example requires a `runway/AttnGAN` model to be active in Runway.
|
||||
*/
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 768
|
||||
height = 576
|
||||
|
||||
@@ -12,7 +12,7 @@ import java.io.File
|
||||
* This example requires a `runway/AttnGAN` model to be active in Runway.
|
||||
*/
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 768
|
||||
height = 576
|
||||
|
||||
@@ -10,7 +10,7 @@ import org.openrndr.extra.runway.*
|
||||
* This demonstrates the body estimation model of DensePose
|
||||
* This example requires a `runway/DensePose` model active in Runway.
|
||||
*/
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 512
|
||||
height = 512
|
||||
|
||||
@@ -12,7 +12,7 @@ import org.openrndr.ffmpeg.VideoPlayerFFMPEG
|
||||
* This example requires a `reiinakano/DeOldify` model active in Runway.
|
||||
*/
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 1280
|
||||
height = 360
|
||||
|
||||
@@ -14,7 +14,7 @@ import org.openrndr.ffmpeg.VideoPlayerFFMPEG
|
||||
* This example requires a `reiinakano/DeOldify` model active in Runway.
|
||||
*/
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 1280
|
||||
height = 480
|
||||
|
||||
@@ -10,7 +10,7 @@ import org.openrndr.ffmpeg.VideoPlayerFFMPEG
|
||||
import org.openrndr.math.Vector2
|
||||
import org.openrndr.resourceUrl
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 768
|
||||
height = 576
|
||||
|
||||
@@ -15,7 +15,7 @@ import java.net.URL
|
||||
* a `runway/AttnGAN` model active in Runway on port 8001
|
||||
*/
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 768
|
||||
height = 576
|
||||
|
||||
@@ -15,7 +15,7 @@ import org.openrndr.math.Vector2
|
||||
*/
|
||||
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 768
|
||||
height = 576
|
||||
|
||||
@@ -13,7 +13,7 @@ import org.openrndr.extra.runway.runwayQuery
|
||||
*/
|
||||
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 768
|
||||
height = 576
|
||||
|
||||
@@ -18,7 +18,7 @@ import org.openrndr.shape.Rectangle
|
||||
* This example requires a `runway/DenseCap` model to be active in Runway.
|
||||
*/
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 768
|
||||
height = 576
|
||||
|
||||
@@ -5,7 +5,7 @@ import org.openrndr.extra.runway.*
|
||||
/**
|
||||
* This example requires a `runway/Person-Segmentation` model to be active in Runway.
|
||||
*/
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 331
|
||||
height = 400
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.openrndr.extra.runway.runwayQuery
|
||||
* This example requires a `runway/StyleGAN` model to be active in Runway.
|
||||
* This also works with `eryksalvaggio/Ascinte_Seated`
|
||||
*/
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 512
|
||||
height = 512
|
||||
|
||||
@@ -14,7 +14,7 @@ import java.io.File
|
||||
* This example requires a `runway/GPT-2` model to be active in Runway.
|
||||
*/
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 768
|
||||
height = 768
|
||||
|
||||
@@ -5,7 +5,7 @@ import org.openrndr.extra.runway.*
|
||||
/**
|
||||
* This example requires a `runway/U-2-Net` model to be active in Runway.
|
||||
*/
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 305
|
||||
height = 400
|
||||
|
||||
@@ -9,7 +9,7 @@ import org.openrndr.extra.runway.*
|
||||
* This demonstrates the body estimation model of PoseNet
|
||||
* This example requires a `runway/PoseNet` model active in Runway.
|
||||
*/
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
configure {
|
||||
width = 512
|
||||
height = 512
|
||||
|
||||
Reference in New Issue
Block a user