From 5b3c4f90dafce3f760fc23b9e28af9868ce9d70b Mon Sep 17 00:00:00 2001 From: Ahsen Khaliq <81195143+AK391@users.noreply.github.com> Date: Thu, 15 Dec 2022 14:00:11 -0500 Subject: [PATCH 1/4] add colab notebook --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 333ff45..55e5c36 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ Read about it at https://www.riffusion.com/about and try it at https://www.riffu * Web app: https://github.com/hmartiro/riffusion-app * Inference server: https://github.com/hmartiro/riffusion-inference * Model checkpoint: https://huggingface.co/riffusion/riffusion-model-v1 +* Google Colab notebook: [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1FhH3HlN8Ps_Pr9OR6Qcfbfz7utDvICl0?usp=sharing) + This repository contains the interactive web app that powers the website. From 6032109b8e6c1afc7c3871bd4f14830d22598799 Mon Sep 17 00:00:00 2001 From: Ahsen Khaliq <81195143+AK391@users.noreply.github.com> Date: Thu, 15 Dec 2022 15:05:49 -0500 Subject: [PATCH 2/4] add gradio web demo --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 55e5c36..53c333d 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Read about it at https://www.riffusion.com/about and try it at https://www.riffu * Inference server: https://github.com/hmartiro/riffusion-inference * Model checkpoint: https://huggingface.co/riffusion/riffusion-model-v1 * Google Colab notebook: [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1FhH3HlN8Ps_Pr9OR6Qcfbfz7utDvICl0?usp=sharing) +* Gradio Web Demo: [![Hugging Face Spaces](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Spaces-blue)](https://huggingface.co/spaces/fffiloni/spectrogram-to-music) This repository contains the interactive web app that powers the website. From df9f0ba9f1c3e5a6220690d0c9c4557a2d6081ce Mon Sep 17 00:00:00 2001 From: Seth Forsgren Date: Thu, 15 Dec 2022 18:02:35 -0800 Subject: [PATCH 3/4] updating timeout --- pages/api/baseten.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/baseten.js b/pages/api/baseten.js index 06112ee..b7962ff 100644 --- a/pages/api/baseten.js +++ b/pages/api/baseten.js @@ -9,7 +9,7 @@ export default async function handler(req, res) { method: "POST", headers: headers, body: req.body, - signal: AbortSignal.timeout(15000), + signal: AbortSignal.timeout(20000), }); const data = await response.json(); From a6e736972f533c6cc44c81e74bc33a1e029575d0 Mon Sep 17 00:00:00 2001 From: Hayk Martiros Date: Fri, 16 Dec 2022 08:15:58 -0800 Subject: [PATCH 4/4] Update localhost -> 127.0.0.1 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 53c333d..52c120e 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ To configure these backends, add a `.env.local` file: ``` # URL to your flask instance -RIFFUSION_FLASK_URL=http://localhost:3013/run_inference/ +RIFFUSION_FLASK_URL=http://127.0.0.1:3013/run_inference/ # Whether to use baseten as the model backend NEXT_PUBLIC_RIFFUSION_USE_BASETEN=false