Spaces:
Build error
Build error
Paul Ke commited on
Update streamlit_app.py
Browse files- streamlit_app.py +0 -6
streamlit_app.py
CHANGED
|
@@ -68,12 +68,6 @@ safety_settings = [ { "category": "HARM_CATEGORY_HARASSMENT", "threshold": "OFF"
|
|
| 68 |
|
| 69 |
#Gemini Model
|
| 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 |
|
| 78 |
# Analysis prompt
|
| 79 |
analysis_prompt = expander.text_area("Enter analysis")
|
|
|
|
| 68 |
|
| 69 |
#Gemini Model
|
| 70 |
model_id = expander.text_input("Gemini Model", "gemini-2.0-flash-exp")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
# Analysis prompt
|
| 73 |
analysis_prompt = expander.text_area("Enter analysis")
|