JoBeer commited on
Commit
571e31a
·
1 Parent(s): 0ce3b0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def predict(name, description):
27
 
28
  interface = gr.Interface(fn = predict, inputs = [gr.Textbox(label="Name:", placeholder="z.B. GTIN", lines=1), gr.Textbox(label="Description:", placeholder="z.B. Globel Trade Item Number", lines=1)],
29
  outputs = [gr.Textbox(label = 'preferedName'),gr.Textbox(label = 'definition'), gr.Textbox(label = 'IDRI'),gr.Textbox(label = 'score')],
30
- examples=[['GTIN', 'Globel Trade Item Number']], theme = 'huggingface',
31
  title = 'ECLASS-Property-Search')
32
 
33
  interface.launch()
 
27
 
28
  interface = gr.Interface(fn = predict, inputs = [gr.Textbox(label="Name:", placeholder="z.B. GTIN", lines=1), gr.Textbox(label="Description:", placeholder="z.B. Globel Trade Item Number", lines=1)],
29
  outputs = [gr.Textbox(label = 'preferedName'),gr.Textbox(label = 'definition'), gr.Textbox(label = 'IDRI'),gr.Textbox(label = 'score')],
30
+ examples=[['GTIN', 'Globel Trade Item Number'], ['Device type', 'describing a set of common specific characteristics in products or goods'], ['Item type','the type of product, an item can be assigned to'], ['Nominal power','power being consumed by or dissipated within an electric component as a variable']], theme = 'huggingface',
31
  title = 'ECLASS-Property-Search')
32
 
33
  interface.launch()