Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -262,7 +262,7 @@ with gr.Blocks() as lliface:
|
|
262 |
with gr.Tab("Gradio Version"):
|
263 |
input_text = gr.inputs.Textbox(lines=2, label="Enter a list of words")
|
264 |
output_text = gr.outputs.Textbox(label="Grouped words")
|
265 |
-
gr.Interface(fn=group_words, inputs=input_text, outputs=output_text, title="Word Grouping and Rotation", description="Group a list of words into sets of 10 and rotate them every 60 seconds.").queue()
|
266 |
with gr.Tab("HTML Version"):
|
267 |
gr.HTML("""<iframe height="1200" 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">
|
268 |
See the Pen <a href="https://codepen.io/kwabs22/pen/GRXKQgj">
|
|
|
262 |
with gr.Tab("Gradio Version"):
|
263 |
input_text = gr.inputs.Textbox(lines=2, label="Enter a list of words")
|
264 |
output_text = gr.outputs.Textbox(label="Grouped words")
|
265 |
+
gr.Interface(fn=group_words, inputs=input_text, outputs=output_text, block_id="TimerGradioVer", title="Word Grouping and Rotation", description="Group a list of words into sets of 10 and rotate them every 60 seconds.").queue()
|
266 |
with gr.Tab("HTML Version"):
|
267 |
gr.HTML("""<iframe height="1200" 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">
|
268 |
See the Pen <a href="https://codepen.io/kwabs22/pen/GRXKQgj">
|