datasciencedojo commited on
Commit
fd5f563
·
1 Parent(s): 71fdb6a

updated image height

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def text_analysis(text):
22
  doc = nlp(text)
23
  dependency_parsing = render_dep_chart(doc)
24
  visual1 = (
25
- "<div style='max-width:100%; overflow:auto'>"
26
  + dependency_parsing
27
  + "</div>"
28
  )
@@ -47,6 +47,12 @@ footer {display:none !important}
47
  #zoomable{
48
  cursor: pointer;
49
  }
 
 
 
 
 
 
50
  """
51
 
52
  with gr.Blocks(title="Analyze Text | Data Science Dojo", css = css) as demo:
 
22
  doc = nlp(text)
23
  dependency_parsing = render_dep_chart(doc)
24
  visual1 = (
25
+ "<div style='overflow:auto'>"
26
  + dependency_parsing
27
  + "</div>"
28
  )
 
47
  #zoomable{
48
  cursor: pointer;
49
  }
50
+
51
+ #zoomable img{
52
+ height: 13em;
53
+ }
54
+
55
+
56
  """
57
 
58
  with gr.Blocks(title="Analyze Text | Data Science Dojo", css = css) as demo: