Tin113 commited on
Commit
f56889b
·
verified ·
1 Parent(s): f8bfbac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -1,4 +1,3 @@
1
- # Nội dung file app.py
2
 
3
  import gradio as gr
4
  import torch
@@ -10,7 +9,6 @@ from transformers import (
10
  )
11
  import re
12
 
13
- # --- THAY ĐỔI USERNAME CỦA BẠN VÀO ĐÂY ---
14
  HF_USERNAME = "Tin113"
15
  # -----------------------------------------
16
 
@@ -74,7 +72,6 @@ Demo sửa lỗi ngữ pháp tiếng Việt sử dụng hai model: BARTpho-sylla
74
  2. Chọn model bạn muốn dùng.
75
  3. Nhấn "Submit" để xem kết quả.
76
  """
77
- examples = [["chương trỉnhnh được páht sóng vào lúc 19h", "ViT5-base"], ["Học hok tốt thì kho mak đc điểm cao.", "BARTpho-syllable"]]
78
 
79
  demo = gr.Interface(
80
  fn=correct_grammar,
 
 
1
 
2
  import gradio as gr
3
  import torch
 
9
  )
10
  import re
11
 
 
12
  HF_USERNAME = "Tin113"
13
  # -----------------------------------------
14
 
 
72
  2. Chọn model bạn muốn dùng.
73
  3. Nhấn "Submit" để xem kết quả.
74
  """
 
75
 
76
  demo = gr.Interface(
77
  fn=correct_grammar,