pragneshbarik commited on
Commit
a4b427b
β€’
1 Parent(s): 831e906

made changes

Browse files
Files changed (1) hide show
  1. README.md +23 -23
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- title: Ebook Gen
3
- emoji: 🐒
4
  colorFrom: pink
5
  colorTo: gray
6
  sdk: streamlit
@@ -9,11 +9,11 @@ app_file: app.py
9
  pinned: false
10
  license: mit
11
  ---
 
12
  # Mixtral Playground
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
15
 
16
-
17
  ## Python Setup
18
 
19
  Follow these steps to set up the environment:
@@ -27,21 +27,20 @@ Follow these steps to set up the environment:
27
  GOOGLE_SEARCH_ENGINE_ID = ...
28
  GOOGLE_SEARCH_API_KEY = ...
29
  BING_SEARCH_API_KEY = ...
30
- ```
31
 
32
  4. Install the necessary requirements:
33
- ```
34
- pip install -r requirements.txt --user
35
- ```
36
  5. Start the Streamlit server using either command:
37
- ```
38
- streamlit run app.py
39
- ```
40
- or
41
- ```
42
- python -m streamlit run app.py
43
- ```
44
-
45
 
46
  ## Docker Setup
47
 
@@ -51,12 +50,13 @@ If you prefer using Docker, follow these steps:
51
  2. Create a `.env` file to store API credentials, similar to the Python setup.
52
 
53
  3. Build docker image using
54
-
55
- ```
56
- docker build -t mixtral-playground .
57
- ```
 
58
  4. Run the image using
59
-
60
- ```
61
- docker run --env-file .env -p 8501:8501 mixtral-playground
62
- ```
 
1
  ---
2
+ title: Mixtral Search Engine
3
+ emoji: πŸ”
4
  colorFrom: pink
5
  colorTo: gray
6
  sdk: streamlit
 
9
  pinned: false
10
  license: mit
11
  ---
12
+
13
  # Mixtral Playground
14
 
15
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
16
 
 
17
  ## Python Setup
18
 
19
  Follow these steps to set up the environment:
 
27
  GOOGLE_SEARCH_ENGINE_ID = ...
28
  GOOGLE_SEARCH_API_KEY = ...
29
  BING_SEARCH_API_KEY = ...
30
+ ```
31
 
32
  4. Install the necessary requirements:
33
+ ```
34
+ pip install -r requirements.txt --user
35
+ ```
36
  5. Start the Streamlit server using either command:
37
+ ```
38
+ streamlit run app.py
39
+ ```
40
+ or
41
+ ```
42
+ python -m streamlit run app.py
43
+ ```
 
44
 
45
  ## Docker Setup
46
 
 
50
  2. Create a `.env` file to store API credentials, similar to the Python setup.
51
 
52
  3. Build docker image using
53
+
54
+ ```
55
+ docker build -t mixtral-playground .
56
+ ```
57
+
58
  4. Run the image using
59
+
60
+ ```
61
+ docker run --env-file .env -p 8501:8501 mixtral-playground
62
+ ```