Spaces:
Build error
Build error
Paul Ke commited on
Update streamlit_app.py
Browse files- streamlit_app.py +2 -2
streamlit_app.py
CHANGED
|
@@ -70,8 +70,8 @@ safety_settings = [ { "category": "HARM_CATEGORY_HARASSMENT", "threshold": "OFF"
|
|
| 70 |
model_id = expander.text_input("Gemini Model", "gemini-2.0-flash-exp")
|
| 71 |
# Returns the "context window" for the model,
|
| 72 |
# which is the combined input and output token limits.
|
| 73 |
-
|
| 74 |
-
|
| 75 |
# ( input_token_limit=30720, output_token_limit=2048 )
|
| 76 |
# [END tokens_context_window]
|
| 77 |
|
|
|
|
| 70 |
model_id = expander.text_input("Gemini Model", "gemini-2.0-flash-exp")
|
| 71 |
# Returns the "context window" for the model,
|
| 72 |
# which is the combined input and output token limits.
|
| 73 |
+
print(f"{model_id.input_token_limit=}")
|
| 74 |
+
print(f"{model_id.output_token_limit=}")
|
| 75 |
# ( input_token_limit=30720, output_token_limit=2048 )
|
| 76 |
# [END tokens_context_window]
|
| 77 |
|