Spaces:
Sleeping
Sleeping
last change in ui gave error , attempting a fix
Browse files
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 = '
|
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
|