anumaurya114exp commited on
Commit
98b828d
·
1 Parent(s): d192049

sending filepath instead of download url (which doesn't work)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -338,7 +338,7 @@ with gr.Blocks() as demo:
338
  downloadableFiles = getAllLogFilesUrls()
339
  fileComponents = []
340
  for downloadableFile in downloadableFiles:
341
- filePath = os.path.join(os.path.abspath(logsDir), downloadableFile["url"])
342
  print(filePath)
343
  fileComponent = gr.File(filePath)
344
  fileComponents.append(fileComponent)
 
338
  downloadableFiles = getAllLogFilesUrls()
339
  fileComponents = []
340
  for downloadableFile in downloadableFiles:
341
+ filePath = os.path.join(os.path.abspath(logsDir), downloadableFile["name"])
342
  print(filePath)
343
  fileComponent = gr.File(filePath)
344
  fileComponents.append(fileComponent)