Spaces:
Sleeping
Sleeping
fix runtime error
Browse files- app.py +1 -0
- 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.
|
|
|
1 |
transformers==4.39.3
|
2 |
torch==2.1.2
|
3 |
+
gradio==4.44.1
|