lorenzoscottb commited on
Commit
c3f9066
verified
1 Parent(s): ab47aa4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -57,10 +57,6 @@ examples = [
57
  "艢ledzi艂 mnie niebieski potw贸r, ale si臋 nie ba艂em. By艂em spokojny i zrelaksowany.",
58
  ]
59
 
60
- examples_g = [
61
- "I'm in an auditorium. Susie S is concerned at her part in this disability awareness spoof we are preparing. I ask, 'Why not do it? Lots of AB's represent us in a patronizing way. Why shouldn't we represent ourselves in a good, funny way?' I watch the video we all made. It is funny. I try to sit on a folding chair. Some guy in front talks to me. Merle is in the audience somewhere. [BL]",
62
- ]
63
-
64
  interface_words = gr.Interface(
65
  fn=check_lang,
66
  inputs="text",
@@ -87,9 +83,7 @@ interface_model_S = gr.Interface(
87
  outputs=gr.Label,
88
  title="SA Base English-Only",
89
  description=description_S,
90
- examples = [
91
- "I was followed by the blue monster but was not scared. I was calm and relaxed.",
92
- ]
93
  cache_examples=True,
94
 
95
  )
@@ -116,7 +110,7 @@ interface_model_RE = gr.Interface(
116
 
117
  # interface_model_NER = gr.Interface.load(
118
  # "models/DReAMy-lib/t5-base-DreamBank-Generation-NER-Char",
119
- # examples=examples_g,
120
  # title="NER Generation",
121
  # )
122
 
 
57
  "艢ledzi艂 mnie niebieski potw贸r, ale si臋 nie ba艂em. By艂em spokojny i zrelaksowany.",
58
  ]
59
 
 
 
 
 
60
  interface_words = gr.Interface(
61
  fn=check_lang,
62
  inputs="text",
 
83
  outputs=gr.Label,
84
  title="SA Base English-Only",
85
  description=description_S,
86
+ examples = ["I was followed by the blue monster but was not scared. I was calm and relaxed."]
 
 
87
  cache_examples=True,
88
 
89
  )
 
110
 
111
  # interface_model_NER = gr.Interface.load(
112
  # "models/DReAMy-lib/t5-base-DreamBank-Generation-NER-Char",
113
+ # examples_g = ["I'm in an auditorium. Susie S is concerned at her part in this disability awareness spoof we are preparing. I ask, 'Why not do it? Lots of AB's represent us in a patronizing way. Why shouldn't we represent ourselves in a good, funny way?' I watch the video we all made. It is funny. I try to sit on a folding chair. Some guy in front talks to me. Merle is in the audience somewhere. [BL]"]
114
  # title="NER Generation",
115
  # )
116