Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,6 @@ import spacy
|
|
8 |
import os
|
9 |
from groq import Groq
|
10 |
import configparser
|
11 |
-
from typing import Iterable # Import Iterable from typing
|
12 |
|
13 |
# Load environment variables from .env file
|
14 |
config = configparser.ConfigParser()
|
@@ -129,4 +128,4 @@ def cleanup_temp_images(output_folder="temp_images"):
|
|
129 |
if os.path.isfile(file_path):
|
130 |
os.unlink(file_path)
|
131 |
|
132 |
-
cleanup_temp_images()
|
|
|
8 |
import os
|
9 |
from groq import Groq
|
10 |
import configparser
|
|
|
11 |
|
12 |
# Load environment variables from .env file
|
13 |
config = configparser.ConfigParser()
|
|
|
128 |
if os.path.isfile(file_path):
|
129 |
os.unlink(file_path)
|
130 |
|
131 |
+
cleanup_temp_images()
|