Spaces:
Runtime error
Runtime error
update
Browse files- app.py +1 -1
- 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
|