jamesbright commited on
Commit
d87e6ec
·
verified ·
1 Parent(s): 1383215

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -26,6 +26,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
26
  Args:
27
  timezone: A string representing a valid timezone (e.g., 'America/New_York').
28
  """
 
29
  try:
30
  # Create timezone object
31
  tz = pytz.timezone(timezone)
@@ -144,6 +145,7 @@ agent = CodeAgent(
144
  prompt_templates=prompt_templates,
145
  additional_authorized_imports=['datetime']
146
  )
 
 
147
  # Change to your username and repo name
148
- # agent.push_to_hub('jamesbright/party_organiser')
149
- GradioUI(agent).launch()
 
26
  Args:
27
  timezone: A string representing a valid timezone (e.g., 'America/New_York').
28
  """
29
+
30
  try:
31
  # Create timezone object
32
  tz = pytz.timezone(timezone)
 
145
  prompt_templates=prompt_templates,
146
  additional_authorized_imports=['datetime']
147
  )
148
+ GradioUI(agent).launch()
149
+
150
  # Change to your username and repo name
151
+ agent.push_to_hub('jamesbright/party_organiser')