gngpostalsrvc commited on
Commit
2fdc797
·
1 Parent(s): 482f474

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -30,7 +30,8 @@ iface = gr.Interface(
30
  fn=predict,
31
  inputs=gr.Text(label="Input Text"),
32
  outputs=[gr.Text(label="Label"), gr.HighlightedText(label="Word Importance", show_legend=True).style(color_map={"-": "red", "+": "green"})],
33
- theme=gr.themes.Base()
 
34
  )
35
 
36
  iface.launch()
 
30
  fn=predict,
31
  inputs=gr.Text(label="Input Text"),
32
  outputs=[gr.Text(label="Label"), gr.HighlightedText(label="Word Importance", show_legend=True).style(color_map={"-": "red", "+": "green"})],
33
+ theme=gr.themes.Base(),
34
+ examples=['וּבִשְׁנַת אַחַת לְכוֺרֶשׁ מֶלֶךְ פָּרַס לִכְלוֺת דְּבַר־יְהוָה מִפִּי יִרְמְיָה הֵעִיר יְהוָה אֶת־רוּחַ כֹּרֶשׁ מֶלֶךְ־פָּרַס וַיַּעֲבֶר־קוֺל בְּכָל־מַלְכוּתוֺ וְגַם־בְּמִכְתָּב לֵאמֹר', 'וַיֹּאמֶר דָּוִד אֶל־אוּרִיָּה שֵׁב בָּזֶה גַּם־הַיּוֺם וּמָחָר אֲשַׁלְּחֶךָּ וַיֵּשֶׁב אוּרִיָּה בִירוּשָׁלִַם בַּיּוֺם הַהוּא וּמִמָּחֳרָת']
35
  )
36
 
37
  iface.launch()