cecilemacaire commited on
Commit
9d4a50c
·
verified ·
1 Parent(s): 5b12e61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -33,7 +33,6 @@ def generate_html(ids):
33
  figcaption {
34
  color: black;
35
  background-color: white;
36
- border-radius: 5px;
37
  margin-top: 5px;
38
  padding: 2px;
39
  }
@@ -42,7 +41,6 @@ def generate_html(ids):
42
  margin: 0;
43
  padding: 0;
44
  border-radius: 6px;
45
- box-shadow: 0 2px 4px rgba(0,0,0,0.2);
46
  }
47
  </style>
48
  '''
@@ -80,9 +78,9 @@ with gr.Blocks() as demo:
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
 
 
33
  figcaption {
34
  color: black;
35
  background-color: white;
 
36
  margin-top: 5px;
37
  padding: 2px;
38
  }
 
41
  margin: 0;
42
  padding: 0;
43
  border-radius: 6px;
 
44
  }
45
  </style>
46
  '''
 
78
  input_text = gr.Textbox(label="tokens", placeholder="Example : bonjour je appeler plan_taille")
79
 
80
  submit_btn = gr.Button("Generate")
81
+
 
82
  output_html = gr.HTML(label="ARASAAC Pictograms")
83
+ submit_btn.click(process_text, inputs=input_text, outputs=output_html)
84
 
85
 
86