thisisdev commited on
Commit
e9d33a4
·
verified ·
1 Parent(s): ad99597

Using BlackForestLabs/flux-schnell

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -96,10 +96,13 @@ def get_response(text, occasion, season, style):
96
 
97
  def get_image(llm_data):
98
  prompt = llm_data["query"] + "and the clothing style: " + llm_data["style"]
 
 
 
 
99
  output = replicate.run(
100
- "stability-ai/sdxl:39ed52f2a78e934b3ba6e2a89f5b1c712de7dfea535525255b1aa35c5565e08b",
101
- input={"prompt": prompt}
102
- )
103
  return output[0]
104
 
105
 
 
96
 
97
  def get_image(llm_data):
98
  prompt = llm_data["query"] + "and the clothing style: " + llm_data["style"]
99
+ # output = replicate.run(
100
+ # "stability-ai/sdxl:39ed52f2a78e934b3ba6e2a89f5b1c712de7dfea535525255b1aa35c5565e08b",
101
+ # input={"prompt": prompt}
102
+ # )
103
  output = replicate.run(
104
+ "black-forest-labs/flux-schnell",
105
+ input={"prompt": prompt})
 
106
  return output[0]
107
 
108