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