From 73c6e5f5d90aa625eda7247e60c2f63198a5c154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Thu, 23 Nov 2023 15:34:02 +0700 Subject: [PATCH] Update examples --- examples/phoenix/image_classification.exs | 47 +++++++++++++--------- examples/phoenix/speech_to_text.exs | 21 ++++++---- examples/phoenix/text_classification.exs | 49 +++++++++++++---------- 3 files changed, 68 insertions(+), 49 deletions(-) diff --git a/examples/phoenix/image_classification.exs b/examples/phoenix/image_classification.exs index 8c0729e9..b028bf33 100644 --- a/examples/phoenix/image_classification.exs +++ b/examples/phoenix/image_classification.exs @@ -9,8 +9,8 @@ Application.put_env(:sample, PhoenixDemo.Endpoint, Mix.install([ {:plug_cowboy, "~> 2.6"}, {:jason, "~> 1.4"}, - {:phoenix, "~> 1.7.0"}, - {:phoenix_live_view, "~> 0.18.3"}, + {:phoenix, "1.7.10"}, + {:phoenix_live_view, "0.20.1"}, # Bumblebee and friends {:bumblebee, "~> 0.3.0"}, {:nx, "~> 0.5.1"}, @@ -24,10 +24,10 @@ defmodule PhoenixDemo.Layouts do def render("live.html", assigns) do ~H""" -