Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,6 @@ class TextToImageTool(Tool):
|
|
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"
|
|
|
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"
|