KwabsHug commited on
Commit
20df333
1 Parent(s): 0747efa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -121,11 +121,10 @@ with gr.Blocks() as lliface:
121
  gr.Interface(fn=unique_word_count, inputs="text", outputs="text", title="Wordcounter")
122
  gr.Interface(fn=SepHypandSynExpansion, inputs="text", outputs=["text", "text"], title="Word suggestions")
123
  with gr.Tab("Timing Practice"):
124
- gr.HTML("""<p class="codepen" data-height="300" data-default-tab="result" data-slug-hash="GRXKQgj" data-preview="true" data-editable="true" data-user="kwabs22" style="height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
125
- <span>See the Pen <a href="https://codepen.io/kwabs22/pen/GRXKQgj">
126
  Memorisation Aid</a> by kwabs22 (<a href="https://codepen.io/kwabs22">@kwabs22</a>)
127
- on <a href="https://codepen.io">CodePen</a>.</span>
128
- </p>
129
- <script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>""")
130
 
131
  lliface.launch()
 
121
  gr.Interface(fn=unique_word_count, inputs="text", outputs="text", title="Wordcounter")
122
  gr.Interface(fn=SepHypandSynExpansion, inputs="text", outputs=["text", "text"], title="Word suggestions")
123
  with gr.Tab("Timing Practice"):
124
+ gr.HTML("""<iframe height="300" style="width: 100%;" scrolling="no" title="Memorisation Aid" src="https://codepen.io/kwabs22/embed/preview/GRXKQgj?default-tab=result&editable=true" frameborder="no" loading="lazy" allowtransparency="true" allowfullscreen="true">
125
+ See the Pen <a href="https://codepen.io/kwabs22/pen/GRXKQgj">
126
  Memorisation Aid</a> by kwabs22 (<a href="https://codepen.io/kwabs22">@kwabs22</a>)
127
+ on <a href="https://codepen.io">CodePen</a>.
128
+ </iframe>""")
 
129
 
130
  lliface.launch()