Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ from Gradio_UI import GradioUI
|
|
13 |
@tool
|
14 |
def generate_surfer_image(next_tide: str) -> str:
|
15 |
"""A tool that generates an image of a surfer in the ocean or chilling on Falesia beach and waiting, depending on whether the next tide is high or low.
|
16 |
-
If the closest tide is high, generate surfer in the ocean surfing. If the closest tide is low, generate surfer chilling.
|
17 |
-
|
18 |
Args:
|
19 |
next_tide: A string representing whether next tide low or high.
|
20 |
|
|
|
13 |
@tool
|
14 |
def generate_surfer_image(next_tide: str) -> str:
|
15 |
"""A tool that generates an image of a surfer in the ocean or chilling on Falesia beach and waiting, depending on whether the next tide is high or low.
|
16 |
+
If the closest tide is high, generate surfer in the ocean surfing. If the closest tide is low, generate surfer chilling.
|
17 |
+
If the user asks whether to go surfing now or wait, show the image of a surfer surfing or chilling, depending on the tide.
|
18 |
Args:
|
19 |
next_tide: A string representing whether next tide low or high.
|
20 |
|