mirror of
https://github.com/openai/openai-cookbook
synced 2024-11-08 01:10:29 +00:00
Merge pull request #352 from SmashedFrenzy16/main
Update `chat.py` removing an unnecessary string
This commit is contained in:
commit
2020c8ad6e
@ -51,7 +51,7 @@ def query(question):
|
|||||||
response = st.session_state['chat'].ask_assistant(question)
|
response = st.session_state['chat'].ask_assistant(question)
|
||||||
return response
|
return response
|
||||||
|
|
||||||
prompt = st.text_input("What do you want to know: ","", key="input")
|
prompt = st.text_input(f"What do you want to know: ", key="input")
|
||||||
|
|
||||||
if st.button('Submit', key='generationSubmit'):
|
if st.button('Submit', key='generationSubmit'):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user