Spaces:
Sleeping
Sleeping
Commit
Β·
3ac85c9
1
Parent(s):
ef1dd9e
update
Browse files
README.md
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
---
|
2 |
-
title: This a fastapi
|
3 |
-
colorFrom:
|
4 |
-
colorTo:
|
5 |
-
emoji:
|
6 |
sdk: docker
|
7 |
app_file: main.py
|
8 |
pinned: false
|
9 |
---
|
10 |
|
11 |
-
# Whatsapp-Chatbot
|
12 |
-
A simple repository to integrate a chatbot with whatsapp.
|
13 |
|
14 |
<!-- <p float="left">
|
15 |
<img src="" alt="screenshot1" width="300" style="margin-right: 20px;" />
|
@@ -33,16 +33,16 @@ To run and deploy the WhatsApp chatbot, you will need the following:
|
|
33 |
|
34 |
5. OpenAI API: Sign up for the OpenAI API and obtain your Secret API key from user settings (you may require a paid account for this). -->
|
35 |
|
36 |
-
## Installation and Usage
|
37 |
|
38 |
1. Create conda env
|
39 |
```bash
|
40 |
-
conda create -n
|
41 |
```
|
42 |
|
43 |
2. Activate env
|
44 |
```bash
|
45 |
-
conda activate
|
46 |
```
|
47 |
|
48 |
3. Install the required Python packages:
|
@@ -51,7 +51,7 @@ To run and deploy the WhatsApp chatbot, you will need the following:
|
|
51 |
pip install -r requirements.txt
|
52 |
```
|
53 |
|
54 |
-
# docker
|
55 |
|
56 |
## Docker
|
57 |
1. Create the docker container
|
@@ -62,7 +62,7 @@ To run and deploy the WhatsApp chatbot, you will need the following:
|
|
62 |
2. run the container
|
63 |
```bash
|
64 |
docker run -p 7860:7860 whatapp-endpoint
|
65 |
-
```
|
66 |
<!-- 4. Create a `.env` file in the root directory of the project. -->
|
67 |
|
68 |
<!-- 5. Add the following lines to the `.env` file:
|
|
|
1 |
---
|
2 |
+
title: This a fastapi middleware.
|
3 |
+
colorFrom: blue
|
4 |
+
colorTo: yellow
|
5 |
+
emoji: ππ
|
6 |
sdk: docker
|
7 |
app_file: main.py
|
8 |
pinned: false
|
9 |
---
|
10 |
|
11 |
+
<!-- # Whatsapp-Chatbot
|
12 |
+
A simple repository to integrate a chatbot with whatsapp. -->
|
13 |
|
14 |
<!-- <p float="left">
|
15 |
<img src="" alt="screenshot1" width="300" style="margin-right: 20px;" />
|
|
|
33 |
|
34 |
5. OpenAI API: Sign up for the OpenAI API and obtain your Secret API key from user settings (you may require a paid account for this). -->
|
35 |
|
36 |
+
## Installation and Usage
|
37 |
|
38 |
1. Create conda env
|
39 |
```bash
|
40 |
+
conda create -n rest_server python=3.10 -y
|
41 |
```
|
42 |
|
43 |
2. Activate env
|
44 |
```bash
|
45 |
+
conda activate rest_server
|
46 |
```
|
47 |
|
48 |
3. Install the required Python packages:
|
|
|
51 |
pip install -r requirements.txt
|
52 |
```
|
53 |
|
54 |
+
<!-- # docker
|
55 |
|
56 |
## Docker
|
57 |
1. Create the docker container
|
|
|
62 |
2. run the container
|
63 |
```bash
|
64 |
docker run -p 7860:7860 whatapp-endpoint
|
65 |
+
``` -->
|
66 |
<!-- 4. Create a `.env` file in the root directory of the project. -->
|
67 |
|
68 |
<!-- 5. Add the following lines to the `.env` file:
|