BoojithDharshan commited on
Commit
73fdda8
·
verified ·
1 Parent(s): 0aee351

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import os
4
  import textstat # For readability and complexity score
5
 
6
  # Ensure the API key is securely set
7
- GOOGLE_API_KEY = os.getenv("AIzaSyAfR5zgLAuYaBeJUxnVjkKTII5uneNmKrk") # Load API key from environment variable
8
  genai.configure(api_key=GOOGLE_API_KEY)
9
 
10
  # Load the Gemini Model
@@ -83,4 +83,4 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
83
  download_button.click(generate_downloadable_file, inputs=output_text, outputs=download_file)
84
 
85
  # Launch the Gradio app
86
- demo.launch()
 
4
  import textstat # For readability and complexity score
5
 
6
  # Ensure the API key is securely set
7
+ GOOGLE_API_KEY = os.getenv("AIzaSyBxv9sXG1dyl4ugOOMmMU9QgyMYSvVKg5s") # Load API key from environment variable
8
  genai.configure(api_key=GOOGLE_API_KEY)
9
 
10
  # Load the Gemini Model
 
83
  download_button.click(generate_downloadable_file, inputs=output_text, outputs=download_file)
84
 
85
  # Launch the Gradio app
86
+ demo.launch()