Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,10 @@ import os
|
|
| 3 |
import gradio as gr
|
| 4 |
import tempfile
|
| 5 |
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
def figureTableEqAnalyser(filePath):
|
| 9 |
|
|
|
|
| 3 |
import gradio as gr
|
| 4 |
import tempfile
|
| 5 |
|
| 6 |
+
api_key = os.getenv("GEMINI_API_KEY")
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
genai.configure(api_key=api_key)
|
| 10 |
|
| 11 |
def figureTableEqAnalyser(filePath):
|
| 12 |
|