Phani1008 commited on
Commit
8e1294e
·
verified ·
1 Parent(s): ce3e848

Update pages/Natural_Language_Processing.py

Browse files
pages/Natural_Language_Processing.py CHANGED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React from "react";
2
+ import { Button } from "@/components/ui/button";
3
+ import { Card, CardContent } from "@/components/ui/card";
4
+ import { motion } from "framer-motion";
5
+
6
+ const NLPPage = () => {
7
+ const handleRedirect = () => {
8
+ window.open("https://huggingface.co/spaces/your-target-space", "_blank");
9
+ };
10
+
11
+ return (
12
+ <div className="min-h-screen bg-gray-50 flex flex-col justify-center items-center p-6">
13
+ <motion.div
14
+ initial={{ opacity: 0, y: -50 }}
15
+ animate={{ opacity: 1, y: 0 }}
16
+ transition={{ duration: 0.8 }}
17
+ className="max-w-2xl w-full"
18
+ >
19
+ <Card className="shadow-lg">
20
+ <CardContent className="p-6">
21
+ <h1 className="text-3xl font-bold text-center mb-4">
22
+ Natural Language Processing (NLP)
23
+ </h1>
24
+ <p className="text-gray-600 text-lg text-justify mb-6">
25
+ Natural Language Processing (NLP) is a branch of artificial intelligence
26
+ that focuses on the interaction between computers and humans through
27
+ natural language. It enables machines to read, understand, and respond
28
+ to human language in a way that is both meaningful and useful. From chatbots
29
+ to translation tools, NLP powers various applications that make communication
30
+ with technology more intuitive.
31
+ </p>
32
+ <div className="flex justify-center">
33
+ <Button
34
+ onClick={handleRedirect}
35
+ className="bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 shadow-md"
36
+ >
37
+ Explore More
38
+ </Button>
39
+ </div>
40
+ </CardContent>
41
+ </Card>
42
+ </motion.div>
43
+ </div>
44
+ );
45
+ };
46
+
47
+ export default NLPPage;