anumaurya114exp commited on
Commit
e4161c3
·
1 Parent(s): 21de043

correcting filepath

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -338,7 +338,8 @@ with gr.Blocks() as demo:
338
  downloadableFiles = getAllLogFilesUrls()
339
  fileComponents = []
340
  for downloadableFile in downloadableFiles:
341
- fileComponent = gr.File(downloadableFile["url"])
 
342
  fileComponents.append(fileComponent)
343
 
344
  demo.launch(share=False, debug=True, ssl_verify=False, auth=checkAuth)
 
338
  downloadableFiles = getAllLogFilesUrls()
339
  fileComponents = []
340
  for downloadableFile in downloadableFiles:
341
+ filePath = os.path.join(logsDir, downloadableFile["url"])
342
+ fileComponent = gr.File(filePath)
343
  fileComponents.append(fileComponent)
344
 
345
  demo.launch(share=False, debug=True, ssl_verify=False, auth=checkAuth)