parth parekh commited on
Commit
554efdd
β€’
1 Parent(s): 8a726ef

added better intructions

Browse files
Files changed (1) hide show
  1. main.py +10 -8
main.py CHANGED
@@ -31,16 +31,18 @@ html_content = """
31
  <h4>Instructions to Clone and Run Locally:</h4>
32
  <ol>
33
  <li><strong>Clone the Repository:</strong>
34
- <code>
35
- git clone https://huggingface.co/spaces/xxparthparekhxx/llama-3.2-1B-FastApi
36
- cd llama-3.2-1B-FastApi
37
- </code>
 
 
 
38
  </li>
39
  <li><strong>Run the Docker container:</strong>
40
- <code>
41
- docker build -t llama-api .
42
- docker run -p 7860:7860 llama-api
43
- </code>
44
  </li>
45
  <li><strong>Access the API locally:</strong>
46
  <p>Open <a href="http://localhost:7860">http://localhost:7860</a> to access the API docs locally.</p>
 
31
  <h4>Instructions to Clone and Run Locally:</h4>
32
  <ol>
33
  <li><strong>Clone the Repository:</strong>
34
+
35
+ <div>
36
+ <code>git clone https://huggingface.co/spaces/xxparthparekhxx/llama-3.2-1B-FastApi</code>
37
+ </div>
38
+ <div>
39
+ <code>cd llama-3.2-1B-FastApi</code>
40
+ </div>
41
  </li>
42
  <li><strong>Run the Docker container:</strong>
43
+ <div> <code>
44
+ docker build -t llama-api . </code> </div>
45
+ <div> <code> docker run -p 7860:7860 llama-api </code> </div>
 
46
  </li>
47
  <li><strong>Access the API locally:</strong>
48
  <p>Open <a href="http://localhost:7860">http://localhost:7860</a> to access the API docs locally.</p>