VietCat commited on
Commit
38570a2
·
1 Parent(s): 3b7f3b9

fix runtime error

Browse files
Files changed (2) hide show
  1. app.py +1 -0
  2. requirements.txt +1 -1
app.py CHANGED
@@ -28,6 +28,7 @@ demo = gr.Interface(
28
  outputs="text",
29
  title="Sinh văn bản tiếng Việt bằng GPT-2",
30
  description="Dùng mô hình GPT-2 Vietnamese từ NlpHUST để sinh văn bản tiếng Việt."
 
31
  )
32
 
33
  demo.launch()
 
28
  outputs="text",
29
  title="Sinh văn bản tiếng Việt bằng GPT-2",
30
  description="Dùng mô hình GPT-2 Vietnamese từ NlpHUST để sinh văn bản tiếng Việt."
31
+ allow_flagging="never" # 👈 dòng quan trọng
32
  )
33
 
34
  demo.launch()
requirements.txt CHANGED
@@ -1,3 +1,3 @@
1
  transformers==4.39.3
2
  torch==2.1.2
3
- gradio==4.27.0
 
1
  transformers==4.39.3
2
  torch==2.1.2
3
+ gradio==4.44.1