Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import sqlite3
|
|
| 4 |
import google.generativeai as genai
|
| 5 |
# import pyttsx3
|
| 6 |
import pyperclip
|
| 7 |
-
|
| 8 |
|
| 9 |
|
| 10 |
st.set_page_config(page_title="DarkGPT",
|
|
@@ -128,7 +128,7 @@ def main():
|
|
| 128 |
else:
|
| 129 |
try:
|
| 130 |
# GEMINI Replace with your Gemini Api key
|
| 131 |
-
GOOGLE_API_KEY = "
|
| 132 |
genai.configure(api_key=GOOGLE_API_KEY)
|
| 133 |
model = genai.GenerativeModel(selected_model)
|
| 134 |
prompt = user_input
|
|
|
|
| 4 |
import google.generativeai as genai
|
| 5 |
# import pyttsx3
|
| 6 |
import pyperclip
|
| 7 |
+
|
| 8 |
|
| 9 |
|
| 10 |
st.set_page_config(page_title="DarkGPT",
|
|
|
|
| 128 |
else:
|
| 129 |
try:
|
| 130 |
# GEMINI Replace with your Gemini Api key
|
| 131 |
+
GOOGLE_API_KEY = "AIzaSyC8_gwU5LSVQJk3iIXyj5xJ94ArNK11dXU"
|
| 132 |
genai.configure(api_key=GOOGLE_API_KEY)
|
| 133 |
model = genai.GenerativeModel(selected_model)
|
| 134 |
prompt = user_input
|