Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,10 +18,11 @@ except ImportError:
|
|
| 18 |
def analyze_text(text):
|
| 19 |
"""Forensic analysis focusing on 3-5 biggest logical proofs"""
|
| 20 |
if len(text.strip()) < 50:
|
| 21 |
-
return "
|
| 22 |
|
| 23 |
prompt = f"""
|
| 24 |
-
|
|
|
|
| 25 |
that definitively show whether it's human or AI-generated. Focus only on the most undeniable evidence.
|
| 26 |
|
| 27 |
TEXT:
|
|
@@ -88,7 +89,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="emerald")) as app:
|
|
| 88 |
examples = [
|
| 89 |
["The way the moonlight danced... that's not something algorithms capture. It's in the imperfect pauses between words where humanity lives."],
|
| 90 |
["The optimal temperature for this chemical reaction is 37.5°C, with a tolerance of ±2°C. This falls within the expected range according to published studies."],
|
| 91 |
-
["Lol idk why but when I try to explain it just comes out all wrong? Like my brain and mouth ain't connected today smh"]
|
| 92 |
]
|
| 93 |
|
| 94 |
gr.Examples(
|
|
|
|
| 18 |
def analyze_text(text):
|
| 19 |
"""Forensic analysis focusing on 3-5 biggest logical proofs"""
|
| 20 |
if len(text.strip()) < 50:
|
| 21 |
+
return "🔍Write Your Text here for Analysis!"
|
| 22 |
|
| 23 |
prompt = f"""
|
| 24 |
+
You are a Text Analyzer Anna with experience of 40 Years in this field, and you are an expert in Analyzing Text, whether a text is written
|
| 25 |
+
by AI or not. Conduct a forensic analysis of this text and identify the 3-5 BIGGEST, MOST LOGICAL proofs
|
| 26 |
that definitively show whether it's human or AI-generated. Focus only on the most undeniable evidence.
|
| 27 |
|
| 28 |
TEXT:
|
|
|
|
| 89 |
examples = [
|
| 90 |
["The way the moonlight danced... that's not something algorithms capture. It's in the imperfect pauses between words where humanity lives."],
|
| 91 |
["The optimal temperature for this chemical reaction is 37.5°C, with a tolerance of ±2°C. This falls within the expected range according to published studies."],
|
| 92 |
+
["Lol, idk why, but when I try to explain it just comes out all wrong? Like my brain and mouth ain't connected today smh"]
|
| 93 |
]
|
| 94 |
|
| 95 |
gr.Examples(
|