Update app.py
Browse files
app.py
CHANGED
@@ -284,6 +284,8 @@ def process_question(question: str) -> Generator[Tuple[str, str], None, None]:
|
|
284 |
else:
|
285 |
current_response += chunk.content
|
286 |
yield current_response, context
|
|
|
|
|
287 |
|
288 |
# CSS personnalisé avec l'importation de Google Fonts
|
289 |
custom_css = """
|
|
|
284 |
else:
|
285 |
current_response += chunk.content
|
286 |
yield current_response, context
|
287 |
+
# Mettez le résultat en cache à la fin
|
288 |
+
question_cache[question] = (response, context)
|
289 |
|
290 |
# CSS personnalisé avec l'importation de Google Fonts
|
291 |
custom_css = """
|