Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,13 @@ import zipfile
|
|
11 |
import os
|
12 |
import io
|
13 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
# Global DataFrame declaration
|
16 |
results_df = pd.DataFrame(columns=["Filename", "Extracted Text", "Translated Text"])
|
|
|
11 |
import os
|
12 |
import io
|
13 |
import gradio as gr
|
14 |
+
import pathlib
|
15 |
+
import textwrap
|
16 |
+
import json
|
17 |
+
import google.generativeai as genai
|
18 |
+
from IPython.display import display
|
19 |
+
from IPython.display import Markdown
|
20 |
+
import random
|
21 |
|
22 |
# Global DataFrame declaration
|
23 |
results_df = pd.DataFrame(columns=["Filename", "Extracted Text", "Translated Text"])
|