Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,12 @@ import spacy
|
|
8 |
import os
|
9 |
from groq import Groq
|
10 |
import configparser
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
# Load environment variables from .env file
|
14 |
config = configparser.ConfigParser()
|
|
|
8 |
import os
|
9 |
from groq import Groq
|
10 |
import configparser
|
11 |
+
|
12 |
+
# Check if Iterable is defined in collections.abc, otherwise define it
|
13 |
+
try:
|
14 |
+
from collections.abc import Iterable
|
15 |
+
except ImportError:
|
16 |
+
from collections import Iterable
|
17 |
|
18 |
# Load environment variables from .env file
|
19 |
config = configparser.ConfigParser()
|