nirajandhakal commited on
Commit
f0d5119
·
verified ·
1 Parent(s): 39f57d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -15,6 +15,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
15
 
16
  huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
17
 
 
18
 
19
  pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=dtype, token = huggingface_token).to(device)
20
 
@@ -99,7 +100,7 @@ body {
99
  """
100
 
101
  with gr.Blocks(css=css, theme=gr.themes.Soft(primary_hue="blue", secondary_hue="gray")) as demo:
102
- gr.HTML(title)
103
 
104
  with gr.Column(elem_id="col-container"):
105
  gr.Markdown(f"""# FLUX.1 [dev]
 
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
 
 
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]