class GradioComponentsHTML: @staticmethod def get_html_header() -> str: '''Create HTML for the header''' return '''

ShortGPT

''' @staticmethod def get_html_error_template() -> str: return '''

ERROR : {error_message}

Traceback Info : {stack_trace}

If the problem persists, don't hesitate to contact our support. We're here to assist you.

Get Help on Discord
''' @staticmethod def get_html_video_template(file_url_path, file_name, width="auto", height="auto"): """ Generate an HTML code snippet for embedding and downloading a video. Parameters: file_url_path (str): The URL or path to the video file. file_name (str): The name of the video file. width (str, optional): The width of the video. Defaults to "auto". height (str, optional): The height of the video. Defaults to "auto". Returns: str: The generated HTML code snippet. """ html = f'''
''' return html