Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -9,10 +9,10 @@ import sys
|
|
9 |
from typing import List, Tuple
|
10 |
from llama_cpp import Llama
|
11 |
from llama_cpp_agent import LlamaCppAgent
|
|
|
12 |
from llama_cpp_agent.providers import LlamaCppPythonProvider
|
13 |
from llama_cpp_agent.chat_history import BasicChatHistory
|
14 |
from llama_cpp_agent.chat_history.messages import Roles
|
15 |
-
from llama_cpp_agent.messages_formatter import MessagesFormatter, PromptMarkers
|
16 |
from huggingface_hub import hf_hub_download
|
17 |
import gradio as gr
|
18 |
from logger import logging
|
|
|
9 |
from typing import List, Tuple
|
10 |
from llama_cpp import Llama
|
11 |
from llama_cpp_agent import LlamaCppAgent
|
12 |
+
from llama_cpp_agent import MessagesFormatterType
|
13 |
from llama_cpp_agent.providers import LlamaCppPythonProvider
|
14 |
from llama_cpp_agent.chat_history import BasicChatHistory
|
15 |
from llama_cpp_agent.chat_history.messages import Roles
|
|
|
16 |
from huggingface_hub import hf_hub_download
|
17 |
import gradio as gr
|
18 |
from logger import logging
|