File size: 326 Bytes
b473486
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr


def read_local_changelog():
    with open("CHANGELOG.md", "r", encoding="utf-8") as file:
        content = file.read()
        content = content[content.index("# ") :]
        return content


def create_changelog_tab():
    changelog_content = read_local_changelog()
    gr.Markdown(changelog_content)