ChenWu98 commited on
Commit
820a643
·
1 Parent(s): c9928a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -7,7 +7,7 @@ import streamlit as st
7
 
8
  is_colab = utils.is_google_colab()
9
 
10
- if False:
11
  model_id_or_path = "CompVis/stable-diffusion-v1-4"
12
  scheduler = DDIMScheduler.from_config(model_id_or_path, subfolder="scheduler")
13
  pipe = CycleDiffusionPipeline.from_pretrained(model_id_or_path,
@@ -58,7 +58,8 @@ with gr.Blocks(css=css) as demo:
58
  <h1>CycleDiffusion with Stable Diffusion</h1>
59
  </div>
60
  <p>
61
- Demo for CycleDiffusion with Stable Diffusion, built with Diffusers 🧨 by HuggingFace 🤗.
 
62
  </p>
63
  <p>You can skip the queue in the colab: <a href="https://colab.research.google.com/gist/ChenWu98/0aa4fe7be80f6b45d3d055df9f14353a/copy-of-fine-tuned-diffusion-gradio.ipynb"><img data-canonical-src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab" src="https://colab.research.google.com/assets/colab-badge.svg"></a></p>
64
  Running on <b>{device}</b>{(" in a <b>Google Colab</b>." if is_colab else "")}
 
7
 
8
  is_colab = utils.is_google_colab()
9
 
10
+ if True:
11
  model_id_or_path = "CompVis/stable-diffusion-v1-4"
12
  scheduler = DDIMScheduler.from_config(model_id_or_path, subfolder="scheduler")
13
  pipe = CycleDiffusionPipeline.from_pretrained(model_id_or_path,
 
58
  <h1>CycleDiffusion with Stable Diffusion</h1>
59
  </div>
60
  <p>
61
+ Demo for CycleDiffusion with Stable Diffusion, built with Diffusers 🧨 by HuggingFace 🤗. <br>
62
+ <a href="https://huggingface.co/docs/diffusers/main/en/api/pipelines/cycle_diffusion">Doc</a> | <a href="https://arxiv.org/abs/2210.05559">Paper</a>
63
  </p>
64
  <p>You can skip the queue in the colab: <a href="https://colab.research.google.com/gist/ChenWu98/0aa4fe7be80f6b45d3d055df9f14353a/copy-of-fine-tuned-diffusion-gradio.ipynb"><img data-canonical-src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab" src="https://colab.research.google.com/assets/colab-badge.svg"></a></p>
65
  Running on <b>{device}</b>{(" in a <b>Google Colab</b>." if is_colab else "")}