Spaces:
Runtime error
Runtime error
File size: 278 Bytes
e90d194 |
1 2 3 4 5 6 7 8 9 10 11 12 |
def prompt_gemini(prompt: str):
"""
:param prompt:
:return:
"""
import os
gemini_api_key: str = os.environ.get("GEMINI_API_KEY")
if not gemini_api_key:
print("\033[91mYou need an API key to download Gemini models.\033[0m")
return prompt
|