Update app.py
Browse files
app.py
CHANGED
@@ -103,8 +103,6 @@ def prompt_builder(prompt, system_message="You are a helpful chatbot which gives
|
|
103 |
|
104 |
|
105 |
'''
|
106 |
-
|
107 |
-
# https://www.philschmid.de/llama-2#how-to-prompt-llama-2-chat
|
108 |
def get_completion(
|
109 |
prompt,
|
110 |
system_prompt=None,
|
@@ -221,8 +219,7 @@ DESCRIPTION = """
|
|
221 |
LICENSE = """
|
222 |
<p/>
|
223 |
---
|
224 |
-
|
225 |
-
this demo is governed by the original [license](https://huggingface.co/spaces/huggingface-projects/llama-2-70b-chat/blob/main/LICENSE.txt) and [acceptable use policy](https://huggingface.co/spaces/huggingface-projects/llama-2-70b-chat/blob/main/USE_POLICY.md).
|
226 |
"""
|
227 |
|
228 |
if not torch.cuda.is_available():
|
|
|
103 |
|
104 |
|
105 |
'''
|
|
|
|
|
106 |
def get_completion(
|
107 |
prompt,
|
108 |
system_prompt=None,
|
|
|
219 |
LICENSE = """
|
220 |
<p/>
|
221 |
---
|
222 |
+
|
|
|
223 |
"""
|
224 |
|
225 |
if not torch.cuda.is_available():
|