Spaces:
Build error
Build error
PK commited on
Update streamlit_app.py
Browse files- streamlit_app.py +1 -1
streamlit_app.py
CHANGED
|
@@ -67,7 +67,7 @@ if API_KEY:
|
|
| 67 |
safety_settings = [ { "category": "HARM_CATEGORY_HARASSMENT", "threshold": "OFF" }, { "category": "HARM_CATEGORY_HATE_SPEECH", "threshold": "OFF" }, { "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT", "threshold": "OFF" }, { "category": "HARM_CATEGORY_DANGEROUS_CONTENT", "threshold": "OFF" }, ]
|
| 68 |
|
| 69 |
#Gemini Model
|
| 70 |
-
model_id = expander.text_input("Gemini Model", "gemini-2.0-flash-
|
| 71 |
|
| 72 |
# Analysis prompt
|
| 73 |
analysis_prompt = expander.text_area("Enter analysis")
|
|
|
|
| 67 |
safety_settings = [ { "category": "HARM_CATEGORY_HARASSMENT", "threshold": "OFF" }, { "category": "HARM_CATEGORY_HATE_SPEECH", "threshold": "OFF" }, { "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT", "threshold": "OFF" }, { "category": "HARM_CATEGORY_DANGEROUS_CONTENT", "threshold": "OFF" }, ]
|
| 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")
|