Martijn van Beers
commited on
Commit
•
2e7b28f
1
Parent(s):
38e692a
Fix gradio incompatibility?
Browse filesIt seems gradio on the hub needs a value for each input, so add
a value for layer for each example
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 |
)
|