lorenzoscottb commited on
Commit
f17857a
β€’
1 Parent(s): 0f567c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -74,7 +74,7 @@ interface_words = gr.Interface(
74
  outputs="text",
75
  title=title,
76
  description=description_main,
77
- examples=[["en"], ["it"], ["pl"]],
78
  cache_examples=True,
79
  )
80
 
@@ -110,9 +110,9 @@ interface_model_RE = gr.Interface(
110
  inputs=gr.Textbox(label="Text", placeholder="Enter a text here."),
111
  outputs=[gr.HTML(label="Extracted graph"),gr.Textbox(label="Extracted text")],
112
  examples= [
113
- ["I was skating on the outdoor ice pond that used to be across the street from my house. I was not alone, but I did not recognize any of the other people who were skating around. I went through my whole repertoire of jumps, spires, and steps-some of which I can do and some of which I'm not yet sure of. They were all executed flawlessly-some I repeated, some I did only once. I seemed to know that if I went into competition, I would be sure of coming in third because there were only three contestants. Up to that time I hadn't considered it because I hadn't thought I was good enough, but now since everything was going so well, I decided to enter."],
114
- ["I was talking on the telephone to the father of an old friend of mine (boy, 21 years old). We were discussing the party the Saturday night before to which I had invited his son as a guest. I asked him if his son had a good time at the party. He told me not to tell his son that he had told me, but that he had had a good time, except he was a little surprised that I had acted the way I did."],
115
- ["I was walking alone with my dog in a forest."]
116
  ],
117
  title=title,
118
  description=description_R,
 
74
  outputs="text",
75
  title=title,
76
  description=description_main,
77
+ examples=["en", "it", "pl"],
78
  cache_examples=True,
79
  )
80
 
 
110
  inputs=gr.Textbox(label="Text", placeholder="Enter a text here."),
111
  outputs=[gr.HTML(label="Extracted graph"),gr.Textbox(label="Extracted text")],
112
  examples= [
113
+ "I was skating on the outdoor ice pond that used to be across the street from my house. I was not alone, but I did not recognize any of the other people who were skating around. I went through my whole repertoire of jumps, spires, and steps-some of which I can do and some of which I'm not yet sure of. They were all executed flawlessly-some I repeated, some I did only once. I seemed to know that if I went into competition, I would be sure of coming in third because there were only three contestants. Up to that time I hadn't considered it because I hadn't thought I was good enough, but now since everything was going so well, I decided to enter.",
114
+ "I was talking on the telephone to the father of an old friend of mine (boy, 21 years old). We were discussing the party the Saturday night before to which I had invited his son as a guest. I asked him if his son had a good time at the party. He told me not to tell his son that he had told me, but that he had had a good time, except he was a little surprised that I had acted the way I did.",
115
+ "I was walking alone with my dog in a forest."
116
  ],
117
  title=title,
118
  description=description_R,