Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,12 +73,12 @@ try:
|
|
| 73 |
|
| 74 |
except Exception as e:
|
| 75 |
print(f"❌ Error occurred: {e}")
|
| 76 |
-
|
| 77 |
finally:
|
| 78 |
# Keep browser open for review
|
| 79 |
time.sleep(10)
|
| 80 |
agent.quit()
|
| 81 |
-
|
| 82 |
@tool
|
| 83 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 84 |
"""A tool that fetches the current local time in a specified timezone.
|
|
|
|
| 73 |
|
| 74 |
except Exception as e:
|
| 75 |
print(f"❌ Error occurred: {e}")
|
| 76 |
+
|
| 77 |
finally:
|
| 78 |
# Keep browser open for review
|
| 79 |
time.sleep(10)
|
| 80 |
agent.quit()
|
| 81 |
+
return "Text successfully entered!"
|
| 82 |
@tool
|
| 83 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 84 |
"""A tool that fetches the current local time in a specified timezone.
|