Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,9 @@ import os
|
|
8 |
import io
|
9 |
import gradio as gr
|
10 |
|
|
|
|
|
|
|
11 |
# Global DataFrame declaration
|
12 |
results_df = pd.DataFrame(columns=["Filename", "Extracted Text", "Translated Text"])
|
13 |
|
|
|
8 |
import io
|
9 |
import gradio as gr
|
10 |
|
11 |
+
# Upload credential json file from default compute service account
|
12 |
+
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "herbaria-ai-3c860bcb0f44.json"
|
13 |
+
|
14 |
# Global DataFrame declaration
|
15 |
results_df = pd.DataFrame(columns=["Filename", "Extracted Text", "Translated Text"])
|
16 |
|