Spaces:
Sleeping
Sleeping
Beracles
commited on
Commit
·
0609fac
1
Parent(s):
0259ec2
unit
Browse files
app.py
CHANGED
|
@@ -128,7 +128,7 @@ def run(hf_token, service, game, functionality, nlp_command):
|
|
| 128 |
timecost = service_end.timestamp() - service_start.timestamp()
|
| 129 |
print(
|
| 130 |
f">>>>>>>>>>>>>>> service ends at {service_end}, "
|
| 131 |
-
+ f"costs {timecost:.2f} <<<<<<<<<<<<<<<"
|
| 132 |
)
|
| 133 |
return json.dumps(outp, indent=4)
|
| 134 |
|
|
|
|
| 128 |
timecost = service_end.timestamp() - service_start.timestamp()
|
| 129 |
print(
|
| 130 |
f">>>>>>>>>>>>>>> service ends at {service_end}, "
|
| 131 |
+
+ f"costs {timecost:.2f}s <<<<<<<<<<<<<<<"
|
| 132 |
)
|
| 133 |
return json.dumps(outp, indent=4)
|
| 134 |
|