Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,6 @@ import pyperclip
|
|
| 8 |
|
| 9 |
st.set_page_config(page_title="DarkGPT",
|
| 10 |
page_icon="🤖",
|
| 11 |
-
layout="wide",
|
| 12 |
initial_sidebar_state="expanded"
|
| 13 |
)
|
| 14 |
|
|
@@ -129,7 +128,7 @@ def main():
|
|
| 129 |
else:
|
| 130 |
try:
|
| 131 |
# GEMINI Replace with your Gemini Api key
|
| 132 |
-
GOOGLE_API_KEY = "
|
| 133 |
genai.configure(api_key=GOOGLE_API_KEY)
|
| 134 |
model = genai.GenerativeModel(selected_model)
|
| 135 |
prompt = user_input
|
|
|
|
| 8 |
|
| 9 |
st.set_page_config(page_title="DarkGPT",
|
| 10 |
page_icon="🤖",
|
|
|
|
| 11 |
initial_sidebar_state="expanded"
|
| 12 |
)
|
| 13 |
|
|
|
|
| 128 |
else:
|
| 129 |
try:
|
| 130 |
# GEMINI Replace with your Gemini Api key
|
| 131 |
+
GOOGLE_API_KEY = "Gemini_api_key"
|
| 132 |
genai.configure(api_key=GOOGLE_API_KEY)
|
| 133 |
model = genai.GenerativeModel(selected_model)
|
| 134 |
prompt = user_input
|