jcg00v commited on
Commit
f68f718
·
verified ·
1 Parent(s): d3d570d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -176,9 +176,9 @@ def layout(*args):
176
  def footer():
177
  myargs = [
178
  "Made in ",
179
- image('./vocali_logo.jpg'),
180
  "with funding ",
181
- image('./logo_funding.jpg'),
182
  link("https://vocali.net/", "VÓCALI"),
183
  br(),
184
  "This work was funded by the Spanish Government, the Spanish Ministry of Economy and Digital Transformation through the Digital Transformation through the 'Recovery, Transformation and Resilience Plan' and also funded by the European Union NextGenerationEU/PRTR through the research project 2021/C005/0015007",
@@ -204,8 +204,6 @@ if __name__ == "__main__":
204
  tokenizer_pt = AutoTokenizer.from_pretrained("VOCALINLP/portuguese_capitalization_punctuation_restoration_sanivert")
205
  pipe_pt = pipeline("token-classification", model=model_pt, tokenizer=tokenizer_pt)
206
 
207
- st.sidebar.image("vocali_logo.jpg")
208
- st.sidebar.subheader("Parque Científico de Murcia, Carretera de Madrid km 388. Complejo de Espinardo, 30100 Murcia")
209
 
210
  input_text = st.selectbox(
211
  label = "Choose an language",
 
176
  def footer():
177
  myargs = [
178
  "Made in ",
179
+ image('./vocali_logo.jpg', width=px(30), height=px(30)),
180
  "with funding ",
181
+ image('./logo_funding.jpg', height=px(30), width=px(80)),
182
  link("https://vocali.net/", "VÓCALI"),
183
  br(),
184
  "This work was funded by the Spanish Government, the Spanish Ministry of Economy and Digital Transformation through the Digital Transformation through the 'Recovery, Transformation and Resilience Plan' and also funded by the European Union NextGenerationEU/PRTR through the research project 2021/C005/0015007",
 
204
  tokenizer_pt = AutoTokenizer.from_pretrained("VOCALINLP/portuguese_capitalization_punctuation_restoration_sanivert")
205
  pipe_pt = pipeline("token-classification", model=model_pt, tokenizer=tokenizer_pt)
206
 
 
 
207
 
208
  input_text = st.selectbox(
209
  label = "Choose an language",