AMfeta99 commited on
Commit
e09e1e5
·
verified ·
1 Parent(s): 8e33a6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -128,6 +128,7 @@ class TextToImageTool(Tool):
128
  '''
129
  image_generation_tool = Tool.from_space(
130
  "KingNish/Realtime-FLUX",
 
131
  api_name="/infer", # Optional if there's only one endpoint
132
  name="image_generator",
133
  description="Generate an image from a prompt"
 
128
  '''
129
  image_generation_tool = Tool.from_space(
130
  "KingNish/Realtime-FLUX",
131
+ hf_token=hf_token,
132
  api_name="/infer", # Optional if there's only one endpoint
133
  name="image_generator",
134
  description="Generate an image from a prompt"