Sambhavnoobcoder commited on
Commit
8c1a612
·
verified ·
1 Parent(s): 9244220

last change in ui gave error , attempting a fix

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,9 +5,10 @@ import faiss
5
  from sentence_transformers import SentenceTransformer
6
  from bs4 import BeautifulSoup
7
  import gradio as gr
 
8
 
9
  # Configure Gemini API key
10
- GOOGLE_API_KEY = 'AIzaSyA0yLvySmj8xjMd0sedSgklg1fj0wBDyyw' # Replace with your API key
11
  genai.configure(api_key=GOOGLE_API_KEY)
12
 
13
  # Fetch lecture notes and model architectures
 
5
  from sentence_transformers import SentenceTransformer
6
  from bs4 import BeautifulSoup
7
  import gradio as gr
8
+ import os
9
 
10
  # Configure Gemini API key
11
+ GOOGLE_API_KEY = 'YOUR_API_KEY_HERE' # Replace with your API key
12
  genai.configure(api_key=GOOGLE_API_KEY)
13
 
14
  # Fetch lecture notes and model architectures