Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import os
|
| 2 |
import gradio as gr
|
| 3 |
|
|
@@ -17,7 +18,7 @@ if not api_key:
|
|
| 17 |
raise ValueError("API key 'groq_key' 未設定於環境變數中!")
|
| 18 |
|
| 19 |
client.api_key = api_key
|
| 20 |
-
|
| 21 |
|
| 22 |
|
| 23 |
def chat_with_groq(user_message):
|
|
|
|
| 1 |
+
print(f\"API Key: {api_key}\")
|
| 2 |
import os
|
| 3 |
import gradio as gr
|
| 4 |
|
|
|
|
| 18 |
raise ValueError("API key 'groq_key' 未設定於環境變數中!")
|
| 19 |
|
| 20 |
client.api_key = api_key
|
| 21 |
+
|
| 22 |
|
| 23 |
|
| 24 |
def chat_with_groq(user_message):
|