Martijn van Beers commited on
Commit
2e7b28f
1 Parent(s): 38e692a

Fix gradio incompatibility?

Browse files

It seems gradio on the hub needs a value for each input, so add
a value for layer for each example

Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -293,10 +293,12 @@ Quick comparison demo of explainability for sentiment prediction with RoBERTa. T
293
  """,
294
  examples=[
295
  [
296
- "This movie was the best movie I have ever seen! some scenes were ridiculous, but acting was great"
 
297
  ],
298
  [
299
- "I really didn't like this movie. Some of the actors were good, but overall the movie was boring"
 
300
  ],
301
  ],
302
  )
 
293
  """,
294
  examples=[
295
  [
296
+ "This movie was the best movie I have ever seen! some scenes were ridiculous, but acting was great",
297
+ 8
298
  ],
299
  [
300
+ "I really didn't like this movie. Some of the actors were good, but overall the movie was boring",
301
+ 8
302
  ],
303
  ],
304
  )