Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,9 +14,8 @@ import time
|
|
| 14 |
import atexit
|
| 15 |
from requests.exceptions import RequestException # Keep for general network errors in fetch_bytes
|
| 16 |
|
| 17 |
-
# --- Mistral Client Import
|
| 18 |
from mistralai import Mistral
|
| 19 |
-
from mistralai.exceptions import MistralAPIException
|
| 20 |
|
| 21 |
# --- Configuration and Globals ---
|
| 22 |
DEFAULT_MISTRAL_KEY = os.getenv("MISTRAL_API_KEY", "")
|
|
|
|
| 14 |
import atexit
|
| 15 |
from requests.exceptions import RequestException # Keep for general network errors in fetch_bytes
|
| 16 |
|
| 17 |
+
# --- Mistral Client Import ---
|
| 18 |
from mistralai import Mistral
|
|
|
|
| 19 |
|
| 20 |
# --- Configuration and Globals ---
|
| 21 |
DEFAULT_MISTRAL_KEY = os.getenv("MISTRAL_API_KEY", "")
|