File size: 1,581 Bytes
7a8e4ef
1b1fea4
 
 
 
7a8e4ef
1b1fea4
7a8e4ef
 
1b1fea4
7a8e4ef
 
1b1fea4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
title: "Keyword Extraction App"
emoji: 🧠
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: "4.0.0"
app_file: app.py
pinned: false
license: mit
---

# πŸ” **Keyword Extraction App**

### ☁️ *Render API Integrated with Hugging Face Gradio*

---

## πŸ“‹ **Project Overview**
This app demonstrates how to connect a **Gradio interface on Hugging Face** with a **Flask API deployed on Render**.  
It performs **keyword extraction** from any text input by making live API calls to the backend.

---

## πŸš€ **How It Works**
1. User enters text into the Gradio interface.  
2. The frontend sends the text to the Render-hosted API endpoint:  
   πŸ”— [`https://carecompanion-keywordextraction.onrender.com/extract_keywords`](https://carecompanion-keywordextraction.onrender.com/extract_keywords)  
3. The backend extracts important keywords using NLP models and returns them to the Gradio interface.  
4. The extracted keywords are displayed instantly.

---

## 🧩 **Tech Stack**
- **Frontend:** Gradio (Hugging Face Spaces)  
- **Backend:** Flask (deployed on Render)  
- **Language:** Python  
- **Model:** NLP-based keyword extraction pipeline  

---

## πŸ’» **Usage**
1. Enter or paste any text into the input box.  
2. Click **β€œSubmit”**.  
3. Instantly view extracted keywords.

---

## πŸ§‘β€πŸ’» **Developer**
**Aaditya Ramrame**  
πŸ”— Hugging Face: [@Aadityaramrame](https://huggingface.co/Aadityaramrame)  
☁️ Render API: [Keyword Extraction API](https://carecompanion-keywordextraction.onrender.com/extract_keywords)

---

## 🧠 Example Input