FrostNT1 commited on
Commit
18f4ced
·
1 Parent(s): 744a83f

Fixing the content section

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,4 +20,4 @@ with st.form("my_form"):
20
  if not openai_api_key.startswith("sk-"):
21
  st.warning("Please enter your OpenAI API key!", icon="⚠")
22
  if submitted and openai_api_key.startswith("sk-"):
23
- generate_response(text)
 
20
  if not openai_api_key.startswith("sk-"):
21
  st.warning("Please enter your OpenAI API key!", icon="⚠")
22
  if submitted and openai_api_key.startswith("sk-"):
23
+ generate_response(text.content)