yaful commited on
Commit
8f0ee41
Β·
1 Parent(s): 9fd13f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -11
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 πŸƒ [Fast Segment Anything Model](https://github.com/CASIA-IVA-Lab/FastSAM).
38
 
39
- 🎯 Upload an Image, segment it with Fast Segment Anything (Everything mode). The other modes will come soon.
40
 
41
- βŒ›οΈ It takes about 6~ seconds to generate segment results. The concurrency_count of queue is 1, please wait for a moment when it is crowded.
42
-
43
- πŸš€ To get faster results, you can use a smaller input size and leave high_visual_quality unchecked.
44
-
45
- πŸ“£ You can also obtain the segmentation results of any Image through this Colab: [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](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