Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import google.generativeai as genai
|
| 3 |
import os
|
| 4 |
-
import textstat # For readability and complexity
|
| 5 |
|
| 6 |
# Ensure the API key is securely set
|
| 7 |
GOOGLE_API_KEY = os.getenv("AIzaSyAfR5zgLAuYaBeJUxnVjkKTII5uneNmKrk") # Load API key from environment variable
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import google.generativeai as genai
|
| 3 |
import os
|
| 4 |
+
import textstat # For readability and complexity scor
|
| 5 |
|
| 6 |
# Ensure the API key is securely set
|
| 7 |
GOOGLE_API_KEY = os.getenv("AIzaSyAfR5zgLAuYaBeJUxnVjkKTII5uneNmKrk") # Load API key from environment variable
|