DavidFM43 commited on
Commit
478d286
·
1 Parent(s): 678fb1e

Update gradio GUI

Browse files
Files changed (1) hide show
  1. app.py +13 -1
app.py CHANGED
@@ -34,5 +34,17 @@ def gen_entities(in_text):
34
  return response[response.find("entities") : response.find("<EP>")]
35
 
36
 
37
- iface = gr.Interface(fn=gen_entities, inputs="text", outputs="text")
 
 
 
 
 
 
 
 
 
 
 
 
38
  iface.launch()
 
34
  return response[response.find("entities") : response.find("<EP>")]
35
 
36
 
37
+ iface = gr.Interface(
38
+ fn=gen_entities,
39
+ inputs="text",
40
+ outputs="text",
41
+ title="Podcast Named Entity Recognition",
42
+ description="Introduce un texto corto para que el modelo identifique las identidades presentes en el mismo.",
43
+ theme="gradio/monochrome",
44
+ examples=[
45
+ [
46
+ "Yo hoy voy a hablar de mujeres en el mundo del arte, porque me ha leído un libro fantástico que se llama Historia del arte sin hombres, de Katie Hesel."
47
+ ]
48
+ ],
49
+ )
50
  iface.launch()