Hev832 commited on
Commit
2854b1b
1 Parent(s): 872568f

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -14
run.py CHANGED
@@ -27,18 +27,7 @@ def downloader(video_url, audio_format):
27
 
28
  return final_output_path
29
 
30
- # Function to read the markdown file and convert it to HTML
31
- def read_markdown_file(file_path):
32
- with open(file_path, 'r', encoding='utf-8') as file:
33
- md_content = file.read()
34
- html_content = markdown.markdown(md_content)
35
- return html_content
36
 
37
- # Path to your markdown file
38
- markdown_file_path = 'notread.md'
39
-
40
- # Read and convert the markdown content
41
- html_content = read_markdown_file(markdown_file_path)
42
 
43
  logschart = """
44
  ### Changelog:
@@ -80,8 +69,6 @@ with gr.Blocks() as demo:
80
  with gr.Group():
81
  with gr.Row():
82
  gr.Markdown(logschart)
83
- with gr.Group():
84
- with gr.Row():
85
- gr.HTML(html_content)
86
 
87
  demo.launch()
 
27
 
28
  return final_output_path
29
 
 
 
 
 
 
 
30
 
 
 
 
 
 
31
 
32
  logschart = """
33
  ### Changelog:
 
69
  with gr.Group():
70
  with gr.Row():
71
  gr.Markdown(logschart)
72
+
 
 
73
 
74
  demo.launch()