diff --git a/server.py b/server.py index 5ccd17f..023b976 100644 --- a/server.py +++ b/server.py @@ -432,7 +432,7 @@ async def ui_cache_view(content_hash: str, request: Request): """ if media_type == "video": - html += f'' + html += f'' elif media_type == "image": html += f'{content_hash}' else: @@ -1384,7 +1384,7 @@ async def ui_runs(request: Request):
''') if input_media_type == "video": - html_parts.append(f'') + html_parts.append(f'') elif input_media_type == "image": html_parts.append(f'input') html_parts.append('
') @@ -1399,7 +1399,7 @@ async def ui_runs(request: Request):
''') if output_media_type == "video": - html_parts.append(f'') + html_parts.append(f'') elif output_media_type == "image": html_parts.append(f'output') html_parts.append('
') @@ -1627,7 +1627,7 @@ async def ui_detail_page(run_id: str, request: Request):
''' if input_media_type == "video": - html += f'' + html += f'' elif input_media_type == "image": html += f'input' html += '
' @@ -1641,7 +1641,7 @@ async def ui_detail_page(run_id: str, request: Request):
''' if output_media_type == "video": - html += f'' + html += f'' elif output_media_type == "image": html += f'output' html += '
' @@ -1833,7 +1833,7 @@ async def ui_run_partial(run_id: str): input_media_type = detect_media_type(CACHE_DIR / input_hash) html += f'
' if input_media_type == "video": - html += f'' + html += f'' elif input_media_type == "image": html += f'input' html += '
' @@ -1843,7 +1843,7 @@ async def ui_run_partial(run_id: str): output_media_type = detect_media_type(CACHE_DIR / output_hash) html += f'
' if output_media_type == "video": - html += f'' + html += f'' elif output_media_type == "image": html += f'output' html += '
'