Spaces:
Configuration error
Configuration error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -168,7 +168,7 @@ def translate(content_text, language, api_key):
|
|
| 168 |
email_response = resend.Emails.send(params)
|
| 169 |
print(f"Email sent successfully. Response:{email_response}")
|
| 170 |
api_key = os.getenv("YOUR_API_KEY")
|
| 171 |
-
gpt_url="https://
|
| 172 |
except Exception as e:
|
| 173 |
gr.Warning(f"請輸入正確的API Key!!")
|
| 174 |
return "請輸入正確的API Key!!"
|
|
|
|
| 168 |
email_response = resend.Emails.send(params)
|
| 169 |
print(f"Email sent successfully. Response:{email_response}")
|
| 170 |
api_key = os.getenv("YOUR_API_KEY")
|
| 171 |
+
gpt_url="https://free.gpt.ge/v1"
|
| 172 |
except Exception as e:
|
| 173 |
gr.Warning(f"請輸入正確的API Key!!")
|
| 174 |
return "請輸入正確的API Key!!"
|