LennardZuendorf commited on
Commit
e78052e
1 Parent(s): 1c4497c

fix: trying to fix iframe

Browse files
Files changed (2) hide show
  1. main.py +2 -2
  2. requirements.txt +1 -1
main.py CHANGED
@@ -195,7 +195,7 @@ with gr.Blocks(
195
  Depending on the selected XAI method, different explanations are available.
196
  """)
197
  # row that displays the generated explanation of the model (if applicable)
198
- with gr.Row(variant="panel"):
199
  # wraps the explanation html to display it statically
200
  xai_interactive = iFrame(
201
  label="Interactive Explanation",
@@ -203,7 +203,7 @@ with gr.Blocks(
203
  '<div style="text-align: center; font-family:arial;"><h4>No Graphic'
204
  " to Display (Yet)</h4></div>"
205
  ),
206
- height="1500px",
207
  show_label=True,
208
  )
209
 
 
195
  Depending on the selected XAI method, different explanations are available.
196
  """)
197
  # row that displays the generated explanation of the model (if applicable)
198
+ with gr.Row():
199
  # wraps the explanation html to display it statically
200
  xai_interactive = iFrame(
201
  label="Interactive Explanation",
 
203
  '<div style="text-align: center; font-family:arial;"><h4>No Graphic'
204
  " to Display (Yet)</h4></div>"
205
  ),
206
+ height="1000px",
207
  show_label=True,
208
  )
209
 
requirements.txt CHANGED
@@ -15,5 +15,5 @@ seaborn~=0.13.0
15
  numpy
16
  matplotlib
17
  pre-commit
18
- ipython
19
  gradio-iframe
 
15
  numpy
16
  matplotlib
17
  pre-commit
18
+ ipython~=0.0.10
19
  gradio-iframe