Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,19 +34,13 @@ def detect(input_text,th=-3.08583984375):
|
|
| 34 |
|
| 35 |
return label2decisions[decision]
|
| 36 |
|
| 37 |
-
description_e = """This is a demo on Github project π [
|
| 38 |
|
| 39 |
-
π―
|
| 40 |
|
| 41 |
-
βοΈ It takes about 6~ seconds to generate segment results.
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
π£ You can also obtain the segmentation results of any Image through this Colab: [](https://colab.research.google.com/drive/1oX14f6IneGGw612WgVlAiy91UHwFAvr9?usp=sharing)
|
| 46 |
-
|
| 47 |
-
π A huge thanks goes out to the @HuggingFace Team for supporting us with GPU grant.
|
| 48 |
-
|
| 49 |
-
π Check out our [Model Card π](https://huggingface.co/An-619/FastSAM)
|
| 50 |
|
| 51 |
"""
|
| 52 |
|
|
|
|
| 34 |
|
| 35 |
return label2decisions[decision]
|
| 36 |
|
| 37 |
+
description_e = """This is a demo on Github project π [Deepfake Text Detection in the Wild](https://github.com/yafuly/DeepfakeTextDetect).
|
| 38 |
|
| 39 |
+
π― Input the text to be detected, and click ''submit''' to get the detection result, either human-written or machine-generated.
|
| 40 |
|
| 41 |
+
βοΈ It takes about 6~ seconds to generate segment results.
|
| 42 |
+
|
| 43 |
+
π Check out our [Model Card π](https://huggingface.co/nealcly/detection-longformer)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
|
| 45 |
"""
|
| 46 |
|