Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,10 @@ from Gradio_UI import GradioUI
|
|
11 |
def add_event_to_calendar(event_name: str, start: str, end: str) -> str:
|
12 |
"""A tool that creates events on Google Calendar using a service account.
|
13 |
Time format: 2015-05-28T09:00:00+01:00 (WAT = UTC+1)
|
|
|
|
|
|
|
|
|
14 |
"""
|
15 |
from google.oauth2 import service_account
|
16 |
from googleapiclient.discovery import build
|
|
|
11 |
def add_event_to_calendar(event_name: str, start: str, end: str) -> str:
|
12 |
"""A tool that creates events on Google Calendar using a service account.
|
13 |
Time format: 2015-05-28T09:00:00+01:00 (WAT = UTC+1)
|
14 |
+
Args:
|
15 |
+
event_name: The name of the event.
|
16 |
+
start: The start time of the event represented as a datetime str.
|
17 |
+
end: The end time of the event respresented as a datetime str.
|
18 |
"""
|
19 |
from google.oauth2 import service_account
|
20 |
from googleapiclient.discovery import build
|