cecilemacaire commited on
Commit
553c9a0
·
verified ·
1 Parent(s): 9d4a50c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="150" height="150"/>
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(label="tokens", placeholder="Example : bonjour je appeler plan_taille")
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