Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ from langchain_huggingface import HuggingFaceEndpoint
|
|
| 10 |
# --- Constants ---
|
| 11 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 12 |
HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
|
|
|
| 13 |
|
| 14 |
|
| 15 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
|
|
| 10 |
# --- Constants ---
|
| 11 |
DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
| 12 |
HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
| 13 |
+
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
| 14 |
|
| 15 |
|
| 16 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|