Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,10 +13,13 @@ from transformers import pipeline
|
|
13 |
messages = [
|
14 |
{"role": "user", "content": "Who are you?"},
|
15 |
]
|
16 |
-
|
|
|
|
|
|
|
17 |
pipe(messages)
|
18 |
|
19 |
-
|
20 |
|
21 |
def chat(input_text, history=[]):
|
22 |
history.append(input_text)
|
|
|
13 |
messages = [
|
14 |
{"role": "user", "content": "Who are you?"},
|
15 |
]
|
16 |
+
|
17 |
+
model_name = "dbmas10/DeepSeek-Llama-8-GGUF"
|
18 |
+
|
19 |
+
pipe = pipeline("text-generation", model=model_name)
|
20 |
pipe(messages)
|
21 |
|
22 |
+
|
23 |
|
24 |
def chat(input_text, history=[]):
|
25 |
history.append(input_text)
|