Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,6 @@ from llama_cpp_agent.providers import LlamaCppPythonProvider
|
|
12 |
from llama_cpp_agent.chat_history import BasicChatHistory
|
13 |
from llama_cpp_agent.chat_history.messages import Roles
|
14 |
import gradio as gr
|
15 |
-
import spaces
|
16 |
from huggingface_hub import hf_hub_download
|
17 |
from typing import List, Tuple
|
18 |
from logger import logging
|
@@ -34,7 +33,6 @@ title = "InternLM Llama.cpp"
|
|
34 |
description = """InternLM3-8B-Instruct, an open-source 8B parameter instruction model, surpasses similar models in reasoning and knowledge tasks, requiring less data and cost while offering adaptable response modes."""
|
35 |
|
36 |
|
37 |
-
@spaces.GPU
|
38 |
def respond(
|
39 |
message: str,
|
40 |
history: List[Tuple[str, str]],
|
|
|
12 |
from llama_cpp_agent.chat_history import BasicChatHistory
|
13 |
from llama_cpp_agent.chat_history.messages import Roles
|
14 |
import gradio as gr
|
|
|
15 |
from huggingface_hub import hf_hub_download
|
16 |
from typing import List, Tuple
|
17 |
from logger import logging
|
|
|
33 |
description = """InternLM3-8B-Instruct, an open-source 8B parameter instruction model, surpasses similar models in reasoning and knowledge tasks, requiring less data and cost while offering adaptable response modes."""
|
34 |
|
35 |
|
|
|
36 |
def respond(
|
37 |
message: str,
|
38 |
history: List[Tuple[str, str]],
|