hysts HF Staff commited on
Commit
87d105f
·
1 Parent(s): b449919
Files changed (2) hide show
  1. README.md +2 -1
  2. app.py +7 -1
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: mit
3
- title: Base Space
4
  emoji: ⚡
5
  colorFrom: red
6
  colorTo: purple
@@ -9,6 +9,7 @@ sdk_version: 3.40.1
9
  python_version: 3.10.11
10
  app_file: app.py
11
  duplicated_from: hysts-debug/base-space
 
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
  license: mit
3
+ title: dataframe latex markdown
4
  emoji: ⚡
5
  colorFrom: red
6
  colorTo: purple
 
9
  python_version: 3.10.11
10
  app_file: app.py
11
  duplicated_from: hysts-debug/base-space
12
+ pinned: false
13
  ---
14
 
15
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -1,7 +1,13 @@
1
  #!/usr/bin/env python
2
 
3
  import gradio as gr
 
 
 
 
 
 
4
 
5
  with gr.Blocks() as demo:
6
- pass
7
  demo.queue().launch()
 
1
  #!/usr/bin/env python
2
 
3
  import gradio as gr
4
+ import pandas as pd
5
+
6
+ df = pd.DataFrame([{
7
+ 'title':
8
+ 'DORSal: Diffusion for Object-centric Representations of Scenes\n $\\textit{et al.}$'
9
+ }])
10
 
11
  with gr.Blocks() as demo:
12
+ gr.Dataframe(value=df, datatype='markdown')
13
  demo.queue().launch()