Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -76,12 +76,15 @@ with gr.Blocks() as demo:
|
|
76 |
gr.Markdown("## Visualize Pictograms Application")
|
77 |
gr.Markdown("Enter a sequence of pictogram tokens:")
|
78 |
|
79 |
-
|
80 |
-
|
81 |
-
output_html = gr.HTML(label="ARASAAC Pictograms")
|
82 |
|
83 |
submit_btn = gr.Button("Generate")
|
84 |
submit_btn.click(process_text, inputs=input_text, outputs=output_html)
|
|
|
|
|
|
|
|
|
85 |
|
86 |
# Lancer l'application
|
87 |
demo.launch()
|
|
|
76 |
gr.Markdown("## Visualize Pictograms Application")
|
77 |
gr.Markdown("Enter a sequence of pictogram tokens:")
|
78 |
|
79 |
+
|
80 |
+
input_text = gr.Textbox(label="tokens", placeholder="Example : bonjour je appeler plan_taille")
|
|
|
81 |
|
82 |
submit_btn = gr.Button("Generate")
|
83 |
submit_btn.click(process_text, inputs=input_text, outputs=output_html)
|
84 |
+
|
85 |
+
output_html = gr.HTML(label="ARASAAC Pictograms")
|
86 |
+
|
87 |
+
|
88 |
|
89 |
# Lancer l'application
|
90 |
demo.launch()
|