Update README.md
Browse files
README.md
CHANGED
|
@@ -11,3 +11,42 @@ license: apache-2.0
|
|
| 11 |
---
|
| 12 |
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 14 |
+
|
| 15 |
+
## A Multimodal Content Generation have following capabilities:
|
| 16 |
+
|
| 17 |
+
## 1. A `Conversational chatbot` as same as `ChatGPT v3.5 + Image Summarization` Capabilities through `GOOGLE GEMINI VISION PRO API`.
|
| 18 |
+
|
| 19 |
+
https://github.com/jaiminjariwala/Multimodal-Content-Generation-using-LLMs/assets/157014747/e4cd27c9-d0ed-42e9-94fc-bc0458eb8437
|
| 20 |
+
|
| 21 |
+
<img width="1312" alt="Screenshot 2024-03-07 at 5 00 49 PM" src="https://github.com/jaiminjariwala/Multimodal-Content-Generation-using-LLMs/assets/157014747/ffa998b9-791d-446b-b951-2f36545ac014">
|
| 22 |
+
|
| 23 |
+
## 2. `Text to Image` (using Stability Ai (Stable Diffusion)) through `REPLICATE API`.
|
| 24 |
+
<img width="673" alt="Screenshot 2024-03-07 at 10 58 41 AM" src="https://github.com/jaiminjariwala/Multimodal-Content-Generation-using-LLMs/assets/157014747/bbfd362e-5437-4807-b58a-09e6efde06f8">
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
## Setup steps:
|
| 28 |
+
1. Create virtual environment
|
| 29 |
+
```
|
| 30 |
+
python -m venv <name of virtual environment>
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
2. Activate it
|
| 34 |
+
```
|
| 35 |
+
source <name of virtual environment>/bin/activate
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
3. Now install required libraries from requirements.txt file using...
|
| 39 |
+
```
|
| 40 |
+
pip install -r requirements.txt
|
| 41 |
+
```
|
| 42 |
+
4. Create .env file and add your API TOKEN
|
| 43 |
+
```
|
| 44 |
+
GOOGLE_API_KEY="Enter Your GOOGLE API TOKEN"
|
| 45 |
+
|
| 46 |
+
REPLICATE_API_KEY="ENTER YOUR REPLICATE API TOKEN "
|
| 47 |
+
```
|
| 48 |
+
5. To run app
|
| 49 |
+
```
|
| 50 |
+
streamlit run <name-of-app>.py
|
| 51 |
+
```
|
| 52 |
+
|