RuchitRawal commited on
Commit
e571004
1 Parent(s): f6eed87

fixed markdown

Browse files
Files changed (2) hide show
  1. app.py +3 -1
  2. requirements.txt +4 -0
app.py CHANGED
@@ -8,6 +8,7 @@ from desc import (
8
  CINEPILE_ABOUT_MD,
9
  )
10
  from urllib.request import urlopen
 
11
 
12
 
13
  def filter_df(fields):
@@ -68,7 +69,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
68
 
69
  # Second Tab: About
70
  with gr.TabItem("About CinePile", elem_id="about"):
71
- gr.Markdown(urlopen(CINEPILE_ABOUT_MD).read().decode())
 
72
 
73
  # Add citation support under "About"
74
  with gr.Row():
 
8
  CINEPILE_ABOUT_MD,
9
  )
10
  from urllib.request import urlopen
11
+ import markdown
12
 
13
 
14
  def filter_df(fields):
 
69
 
70
  # Second Tab: About
71
  with gr.TabItem("About CinePile", elem_id="about"):
72
+ markdown_content = urlopen(CINEPILE_ABOUT_MD).read().decode()
73
+ gr.HTML(markdown.markdown(markdown_content))
74
 
75
  # Add citation support under "About"
76
  with gr.Row():
requirements.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ gradio==5.3.0
2
+ numpy==2.1.2
3
+ pandas==2.2.3
4
+ markdown==3.7