Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,8 +5,8 @@ import gradio as gr
|
|
| 5 |
import os
|
| 6 |
|
| 7 |
# Securely load the API key and project ID
|
| 8 |
-
watsonx_API = os.getenv("
|
| 9 |
-
project_id= os.getenv("
|
| 10 |
|
| 11 |
# Model and project settings
|
| 12 |
model_id = "meta-llama/llama-2-13b-chat" # Directly specifying the LLAMA2 model
|
|
@@ -52,4 +52,4 @@ career_advice_app = gr.Interface(
|
|
| 52 |
)
|
| 53 |
|
| 54 |
# Launch the application
|
| 55 |
-
career_advice_app.launch(
|
|
|
|
| 5 |
import os
|
| 6 |
|
| 7 |
# Securely load the API key and project ID
|
| 8 |
+
watsonx_API = os.getenv("watsonx_API")
|
| 9 |
+
project_id= os.getenv("project_id")
|
| 10 |
|
| 11 |
# Model and project settings
|
| 12 |
model_id = "meta-llama/llama-2-13b-chat" # Directly specifying the LLAMA2 model
|
|
|
|
| 52 |
)
|
| 53 |
|
| 54 |
# Launch the application
|
| 55 |
+
career_advice_app.launch()
|