Omnibus commited on
Commit
7d61465
·
verified ·
1 Parent(s): c535fc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -314,7 +314,7 @@ def load_data():
314
  r = requests.get(f'{save_data}{f_ist[0]}')
315
  lod = json.loads(r.text)
316
  timestamp=str(datetime.datetime.now())
317
- timename=timestamp.replace("--"," ").replace("-"[0],":").replace("-"[1],".")
318
  yield lod,[(None,f'Source is current as of:\n{timename} UTC\n\nThe current Date and Time is:\n{timestamp} UTC')]
319
 
320
  with gr.Blocks() as app:
 
314
  r = requests.get(f'{save_data}{f_ist[0]}')
315
  lod = json.loads(r.text)
316
  timestamp=str(datetime.datetime.now())
317
+ timename=timestamp.replace("--"," ").replace("-"[0],":").replace("-"[0],".")
318
  yield lod,[(None,f'Source is current as of:\n{timename} UTC\n\nThe current Date and Time is:\n{timestamp} UTC')]
319
 
320
  with gr.Blocks() as app: