Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import time
|
|
3 |
import gradio as gr
|
4 |
import google.generativeai as genai
|
5 |
|
6 |
-
# 設定 Gemini API
|
7 |
def configure_api_key(api_key):
|
8 |
genai.configure(api_key=api_key)
|
9 |
print("API Key 已配置成功")
|
|
|
3 |
import gradio as gr
|
4 |
import google.generativeai as genai
|
5 |
|
6 |
+
# 設定 Gemini API KEY
|
7 |
def configure_api_key(api_key):
|
8 |
genai.configure(api_key=api_key)
|
9 |
print("API Key 已配置成功")
|