Aswini96 commited on
Commit
2ee0068
·
verified ·
1 Parent(s): aced39b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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