derek-thomas HF staff commited on
Commit
0665e63
โ€ข
1 Parent(s): 3cb8374

Adding arabic examples and fixing rendering

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. templates/template_html.j2 +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ template_html = env.get_template('template_html.j2')
26
  tokenizer = AutoTokenizer.from_pretrained('derek-thomas/jais-13b-chat-hf')
27
 
28
  # Examples
29
- examples = ['ู…ุง ู‡ูŠ ุนุงุตู…ุฉ ุงู„ุตูŠู†ุŸ',
30
  'ู„ู… ุงู„ุณู…ุงุก ุฒุฑู‚ุงุกุŸ',
31
  "ู…ู† ูุงุฒ ุจูƒุฃุณ ุงู„ุนุงู„ู… ู„ู„ุฑุฌุงู„ ููŠ ุนุงู… 2014ุŸ",]
32
 
 
26
  tokenizer = AutoTokenizer.from_pretrained('derek-thomas/jais-13b-chat-hf')
27
 
28
  # Examples
29
+ examples = ['ู…ู† ูƒุงู† ุทุฑููŠ ู…ุนุฑูƒุฉ ุงูƒุชูŠูˆู… ุงู„ุจุญุฑูŠุฉุŸ',
30
  'ู„ู… ุงู„ุณู…ุงุก ุฒุฑู‚ุงุกุŸ',
31
  "ู…ู† ูุงุฒ ุจูƒุฃุณ ุงู„ุนุงู„ู… ู„ู„ุฑุฌุงู„ ููŠ ุนุงู… 2014ุŸ",]
32
 
templates/template_html.j2 CHANGED
@@ -70,7 +70,7 @@
70
  </head>
71
  <body>
72
  <div class="prose svelte-1ybaih5" id="component-6">
73
- <h2>ุงูุณู’ุชูŽุฏู’ุนูŽู‰</h2>
74
  ููŠู…ุง ูŠู„ูŠ ุงู„ู…ูˆุฌู‡ ุงู„ุฐูŠ ุชู… ุชู‚ุฏูŠู…ู‡ ู„ู„ู†ู…ูˆุฐุฌ.
75
  <hr>
76
  <h2>ุชุนู„ูŠู…ุงุช</h2>
 
70
  </head>
71
  <body>
72
  <div class="prose svelte-1ybaih5" id="component-6">
73
+ <h2>ุงู„ู…ูˆุฌู‡</h2>
74
  ููŠู…ุง ูŠู„ูŠ ุงู„ู…ูˆุฌู‡ ุงู„ุฐูŠ ุชู… ุชู‚ุฏูŠู…ู‡ ู„ู„ู†ู…ูˆุฐุฌ.
75
  <hr>
76
  <h2>ุชุนู„ูŠู…ุงุช</h2>