nirajandhakal commited on
Commit
515e26b
·
verified ·
1 Parent(s): f0d5119

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -15,8 +15,6 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
15
 
16
  huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
17
 
18
- Title = "Text-2-Image Generation With Transformer Rectifier | Nirajan Dhakal"
19
-
20
  pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=dtype, token = huggingface_token).to(device)
21
 
22
  MAX_SEED = np.iinfo(np.int32).max
@@ -100,7 +98,7 @@ body {
100
  """
101
 
102
  with gr.Blocks(css=css, theme=gr.themes.Soft(primary_hue="blue", secondary_hue="gray")) as demo:
103
- gr.HTML(title=Title)
104
 
105
  with gr.Column(elem_id="col-container"):
106
  gr.Markdown(f"""# FLUX.1 [dev]
 
15
 
16
  huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
17
 
 
 
18
  pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=dtype, token = huggingface_token).to(device)
19
 
20
  MAX_SEED = np.iinfo(np.int32).max
 
98
  """
99
 
100
  with gr.Blocks(css=css, theme=gr.themes.Soft(primary_hue="blue", secondary_hue="gray")) as demo:
101
+
102
 
103
  with gr.Column(elem_id="col-container"):
104
  gr.Markdown(f"""# FLUX.1 [dev]