Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def generate_html(ids):
|
|
49 |
img_url = f"https://static.arasaac.org/pictograms/{picto_id}/{picto_id}_500.png"
|
50 |
html_content += f'''
|
51 |
<figure>
|
52 |
-
<img src="{img_url}" alt="{lemma}" width="
|
53 |
<figcaption>{lemma}</figcaption>
|
54 |
</figure>
|
55 |
'''
|
@@ -75,7 +75,7 @@ with gr.Blocks() as demo:
|
|
75 |
gr.Markdown("Enter a sequence of pictogram tokens:")
|
76 |
|
77 |
|
78 |
-
input_text = gr.Textbox(
|
79 |
|
80 |
submit_btn = gr.Button("Generate")
|
81 |
|
|
|
49 |
img_url = f"https://static.arasaac.org/pictograms/{picto_id}/{picto_id}_500.png"
|
50 |
html_content += f'''
|
51 |
<figure>
|
52 |
+
<img src="{img_url}" alt="{lemma}" width="180" height="180"/>
|
53 |
<figcaption>{lemma}</figcaption>
|
54 |
</figure>
|
55 |
'''
|
|
|
75 |
gr.Markdown("Enter a sequence of pictogram tokens:")
|
76 |
|
77 |
|
78 |
+
input_text = gr.Textbox(placeholder="Example : bonjour je appeler plan_taille")
|
79 |
|
80 |
submit_btn = gr.Button("Generate")
|
81 |
|