Promotingai commited on
Commit
2d40afe
·
verified ·
1 Parent(s): 98929f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ if prompt:
31
  st.chat_message("user").write(prompt)
32
 
33
  # Use a spinner to indicate that the model is generating a response
34
- with st.spinner('Thinking...'):
35
  client = OpenAI(api_key=openai_api_key)
36
  response = client.chat.completions.create(model=model_choice, messages=st.session_state.messages)
37
  msg = response.choices[0].message.content
 
31
  st.chat_message("user").write(prompt)
32
 
33
  # Use a spinner to indicate that the model is generating a response
34
+ with st.spinner('PromptingAI is Thinking...'):
35
  client = OpenAI(api_key=openai_api_key)
36
  response = client.chat.completions.create(model=model_choice, messages=st.session_state.messages)
37
  msg = response.choices[0].message.content