Avijit Ghosh commited on
Commit
6d0dcd7
1 Parent(s): 3c2eed8

load models

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -145,6 +145,9 @@ with gr.Blocks(title = "Skin Tone and Gender bias in SDXL Demo - Inference API")
145
 
146
  gr.Markdown("# Skin Tone and Gender bias in SDXL Demo")
147
 
 
 
 
148
  prompt = gr.Textbox(label="Enter the Prompt")
149
  gallery = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery",
150
  columns=[5], rows=[2], object_fit="contain", height="auto")
 
145
 
146
  gr.Markdown("# Skin Tone and Gender bias in SDXL Demo")
147
 
148
+ loadpipeline()
149
+ loadblip()
150
+
151
  prompt = gr.Textbox(label="Enter the Prompt")
152
  gallery = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery",
153
  columns=[5], rows=[2], object_fit="contain", height="auto")