Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def greet(string):
|
|
55 |
import datetime
|
56 |
current_time = datetime.datetime.now()
|
57 |
body = {
|
58 |
-
"arguments": {"range": "Sheet1!
|
59 |
"body": {"values": [[str(current_time)]]}
|
60 |
}
|
61 |
res = requests.post(url, json.dumps(body), headers={'Content-Type': 'application/json'})
|
|
|
55 |
import datetime
|
56 |
current_time = datetime.datetime.now()
|
57 |
body = {
|
58 |
+
"arguments": {"range": "Sheet1!D"+str(len(df)+2), "valueInputOption": "USER_ENTERED"},
|
59 |
"body": {"values": [[str(current_time)]]}
|
60 |
}
|
61 |
res = requests.post(url, json.dumps(body), headers={'Content-Type': 'application/json'})
|