qtpi commited on
Commit
3a9c63d
·
verified ·
1 Parent(s): 3fb4fde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -3,7 +3,10 @@ import os
3
  import gradio as gr
4
  import tempfile
5
 
6
- genai.configure(api_key=GEMINI_API_KEY)
 
 
 
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