sylaork commited on
Commit
0254e0c
·
verified ·
1 Parent(s): 75ef535

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -1,7 +1,7 @@
1
  from openai import OpenAI
2
  import streamlit as st
3
 
4
- client = OpenAI(api_key="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")
5
 
6
  def generate_learning_plan(goal, level):
7
  prompt = f"Create a detailed, step by step from the scratch and structured 1-week learning plan for someone at {level} level who wants to learn {goal}."
 
1
  from openai import OpenAI
2
  import streamlit as st
3
 
4
+ client = OpenAI(api_key="your_api_key")
5
 
6
  def generate_learning_plan(goal, level):
7
  prompt = f"Create a detailed, step by step from the scratch and structured 1-week learning plan for someone at {level} level who wants to learn {goal}."