Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import subprocess
|
|
3 |
from huggingface_hub import InferenceClient
|
4 |
import gradio as gr
|
5 |
import random
|
|
|
6 |
import time
|
7 |
from typing import List, Dict
|
8 |
|
@@ -29,7 +30,7 @@ MAX_HISTORY = 100
|
|
29 |
MODEL = "mistralai/Mixtral-8x7B-Instruct-v0.1"
|
30 |
|
31 |
# Import necessary prompts and functions from the existing code
|
32 |
-
from
|
33 |
ACTION_PROMPT,
|
34 |
ADD_PROMPT,
|
35 |
COMPRESS_HISTORY_PROMPT,
|
|
|
3 |
from huggingface_hub import InferenceClient
|
4 |
import gradio as gr
|
5 |
import random
|
6 |
+
import prompts
|
7 |
import time
|
8 |
from typing import List, Dict
|
9 |
|
|
|
30 |
MODEL = "mistralai/Mixtral-8x7B-Instruct-v0.1"
|
31 |
|
32 |
# Import necessary prompts and functions from the existing code
|
33 |
+
from prompts import (
|
34 |
ACTION_PROMPT,
|
35 |
ADD_PROMPT,
|
36 |
COMPRESS_HISTORY_PROMPT,
|