Skip to content

Commit f392f1b

Browse files
authored
Prescription info app model change (#16)
1 parent 060a9ef commit f392f1b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

prescribing-info-app/main.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ def update_drug_data(state: WriterState, drug_name: str) -> None:
3737
state["prescribing_info_summary"] = ""
3838

3939
for chunk in stream_complete(
40-
prescribing_summary_prompt.format(
40+
initial_text=prescribing_summary_prompt.format(
4141
prescribing_details=state["raw_prescribing_info"]
42-
)
42+
),
43+
config={"model": "palmyra-med"}
4344
):
4445
state["prescribing_info_summary"] += chunk
4546

@@ -174,4 +175,4 @@ def contributing_sources_change_vis(state: WriterState) -> None:
174175
}
175176
)
176177

177-
initial_state.import_stylesheet("style", "/static/custom.css?1")
178+
initial_state.import_stylesheet("style", "/static/custom.css")

0 commit comments

Comments
 (0)