Spaces:
Sleeping
Sleeping
delete unused code
Browse files
app.py
CHANGED
@@ -51,12 +51,6 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
51 |
except Exception as e:
|
52 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
53 |
|
54 |
-
image_generation_tool = Tool.from_space(
|
55 |
-
"black-forest-labs/FLUX.1-schnell",
|
56 |
-
name="image_generator",
|
57 |
-
description="Generate an image from a prompt"
|
58 |
-
)
|
59 |
-
|
60 |
|
61 |
final_answer = FinalAnswerTool()
|
62 |
model = HfApiModel(
|
|
|
51 |
except Exception as e:
|
52 |
return f"Error fetching time for timezone '{timezone}': {str(e)}"
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
|
55 |
final_answer = FinalAnswerTool()
|
56 |
model = HfApiModel(
|