Sultannn commited on
Commit
1760f17
β€’
1 Parent(s): 3731104

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,6 +5,7 @@ import gradio as gr
5
  #import tensorflow as tf masih error
6
  import torch #ganti ke pt
7
 
 
8
  from transformers import MT5Tokenizer, MT5ForConditionalGeneration
9
 
10
 
@@ -47,7 +48,7 @@ contoh = [["Dota 2 adalah sebuah permainan arena pertarungan daring multipemain,
47
  title = "Text Sumarization id2id"
48
 
49
  #deskripsi
50
- description = "Demo for Text Sumarization id2id. Models are MBART(50 languages)"
51
 
52
  #footer
53
  article = "<p style='text-align: center'><a href='https://github.com/sultanbst123/Text_summarization-id2id' target='_blank'><u>Untuk penjelasan lihat di repo ku</u> 😁</a></p>"
 
5
  #import tensorflow as tf masih error
6
  import torch #ganti ke pt
7
 
8
+ import sentencepiece
9
  from transformers import MT5Tokenizer, MT5ForConditionalGeneration
10
 
11
 
 
48
  title = "Text Sumarization id2id"
49
 
50
  #deskripsi
51
+ description = "Demo for Text Sumarization id2id. Models are MT5(45 languages)"
52
 
53
  #footer
54
  article = "<p style='text-align: center'><a href='https://github.com/sultanbst123/Text_summarization-id2id' target='_blank'><u>Untuk penjelasan lihat di repo ku</u> 😁</a></p>"