Update app.py
Browse files
app.py
CHANGED
|
@@ -32,6 +32,7 @@ model = HfApiModel(model_id='mistralai/Mistral-7B-Instruct-v0.2', max_tokens=512
|
|
| 32 |
|
| 33 |
|
| 34 |
|
|
|
|
| 35 |
def get_cache_key(question: str) -> str:
|
| 36 |
return hashlib.sha256(question.encode()).hexdigest()
|
| 37 |
|
|
|
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
+
|
| 36 |
def get_cache_key(question: str) -> str:
|
| 37 |
return hashlib.sha256(question.encode()).hexdigest()
|
| 38 |
|