Skip to content

Commit f2f3b57

Browse files
authored
chore: Correct some minor codeblock issues. (#1289)
* Remove duplicated code line * Fix indentation in codeblock
1 parent 86e9c38 commit f2f3b57

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

content/develop/tutorials/execution-flow/fragments/trigger-a-full-script-rerun-from-a-fragment.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,6 @@ Now, you have a functioning app that uses a fragment to prevent unnecessarily re
489489
if "previous_date" not in st.session_state:
490490
st.session_state.previous_date = selected_date
491491
previous_date = st.session_state.previous_date
492-
previous_date = st.session_state.previous_date
493492
st.session_state.previous_date = selected_date
494493
is_new_month = selected_date.replace(day=1) != previous_date.replace(day=1)
495494
if is_new_month:

content/develop/tutorials/llms/llm-quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ To start, create a new Python file and save it as `streamlit_app.py` in the roo
103103

104104
```python
105105
def generate_response(input_text):
106-
model = ChatOpenAI(temperature=0.7, api_key=openai_api_key)
106+
model = ChatOpenAI(temperature=0.7, api_key=openai_api_key)
107107
st.info(model.invoke(input_text))
108108
```
109109

0 commit comments

Comments
 (0)