AMfeta99 commited on
Commit
757c514
·
verified ·
1 Parent(s): e09e1e5

Update app.py

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