Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,10 @@ AZURE_API_VERSION = "2023-03-15-preview"
|
|
8 |
|
9 |
client = AzureOpenAI(api_key=os.getenv("AZURE_OPENAI_API_KEY"), api_version=AZURE_API_VERSION, azure_endpoint=os.getenv("AZURE_OPENAI_ENDPOINT"))
|
10 |
|
|
|
|
|
|
|
|
|
11 |
# List of New Year 2025 related words for each level
|
12 |
new_year_levels = [os.getenv("First_Word"), os.getenv("Second_Word"), os.getenv("Third_Word"), os.getenv("Fourth_Word"), os.getenv("Fifth_Word")]
|
13 |
|
|
|
8 |
|
9 |
client = AzureOpenAI(api_key=os.getenv("AZURE_OPENAI_API_KEY"), api_version=AZURE_API_VERSION, azure_endpoint=os.getenv("AZURE_OPENAI_ENDPOINT"))
|
10 |
|
11 |
+
# model = genai.GenerativeModel(model_name='gemini-2.0-flash-exp')
|
12 |
+
# query = "Tell me about yourself"
|
13 |
+
# response = model.generate_content(f"""You are an friendly assistant.Answer the following with high precision.{query}""")display(Markdown(response.text))
|
14 |
+
|
15 |
# List of New Year 2025 related words for each level
|
16 |
new_year_levels = [os.getenv("First_Word"), os.getenv("Second_Word"), os.getenv("Third_Word"), os.getenv("Fourth_Word"), os.getenv("Fifth_Word")]
|
17 |
|