Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,8 @@ import requests
|
|
| 4 |
import pytz
|
| 5 |
import yaml
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
|
|
|
|
|
|
| 7 |
|
| 8 |
from Gradio_UI import GradioUI
|
| 9 |
|
|
@@ -50,7 +52,6 @@ model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud',
|
|
| 50 |
custom_role_conversions=None,
|
| 51 |
)
|
| 52 |
'''
|
| 53 |
-
from google.colab import userdata
|
| 54 |
model = LiteLLMModel(model_id="gemini/gemini-2.0-flash-lite", api_key=userdata.get('AIzaSyBzW2rm1bR317GGQAWFHnCxVxxpIomKOHw'))
|
| 55 |
|
| 56 |
|
|
|
|
| 4 |
import pytz
|
| 5 |
import yaml
|
| 6 |
from tools.final_answer import FinalAnswerTool
|
| 7 |
+
from google.colab import userdata
|
| 8 |
+
|
| 9 |
|
| 10 |
from Gradio_UI import GradioUI
|
| 11 |
|
|
|
|
| 52 |
custom_role_conversions=None,
|
| 53 |
)
|
| 54 |
'''
|
|
|
|
| 55 |
model = LiteLLMModel(model_id="gemini/gemini-2.0-flash-lite", api_key=userdata.get('AIzaSyBzW2rm1bR317GGQAWFHnCxVxxpIomKOHw'))
|
| 56 |
|
| 57 |
|