Spaces:
Build error
Build error
Add app.py
Browse files
app.py
CHANGED
|
@@ -124,7 +124,7 @@ def run(account, creds_file, sh_file):
|
|
| 124 |
else:
|
| 125 |
Appointlet().download(account.name)
|
| 126 |
# Appointlet().download(account)
|
| 127 |
-
|
| 128 |
return 'Update Google Sheets completed!'
|
| 129 |
|
| 130 |
# %% Appointlet2GS.ipynb 7
|
|
@@ -136,4 +136,4 @@ iface = gr.Interface(fn=run,
|
|
| 136 |
allow_flagging='never',
|
| 137 |
title='Appointlet2GS Application',
|
| 138 |
description='Download Meeting Attendees file From Appointlet and upload it to Google Sheets')
|
| 139 |
-
iface.launch(height=450, width=500, debug=True)
|
|
|
|
| 124 |
else:
|
| 125 |
Appointlet().download(account.name)
|
| 126 |
# Appointlet().download(account)
|
| 127 |
+
# GoogleSheets(creds_file.name, sh_file.name).update_worksheet()
|
| 128 |
return 'Update Google Sheets completed!'
|
| 129 |
|
| 130 |
# %% Appointlet2GS.ipynb 7
|
|
|
|
| 136 |
allow_flagging='never',
|
| 137 |
title='Appointlet2GS Application',
|
| 138 |
description='Download Meeting Attendees file From Appointlet and upload it to Google Sheets')
|
| 139 |
+
iface.launch(height=450, width=500, debug=True, enable_queue=True)
|