phamvanla commited on
Commit
067e6e3
·
1 Parent(s): 56a53c2
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +2 -1
app.py CHANGED
@@ -24,4 +24,4 @@ def classify_text(text):
24
  iface = gr.Interface(fn=classify_text, inputs="text", outputs="label")
25
 
26
  # Khởi chạy ứng dụng
27
- iface.launch()
 
24
  iface = gr.Interface(fn=classify_text, inputs="text", outputs="label")
25
 
26
  # Khởi chạy ứng dụng
27
+ iface.launch(share=True)
requirements.txt CHANGED
@@ -1,3 +1,4 @@
1
  huggingface_hub==0.22.2
2
  gradio
3
- transformers
 
 
1
  huggingface_hub==0.22.2
2
  gradio
3
+ transformers
4
+ torch