brunhild217 commited on
Commit
e90ba07
·
1 Parent(s): 070335a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -46,10 +46,10 @@ with gr.Blocks() as demo:
46
  embed_key(os.environ.get("OPENAI_API_KEY"), study_tutor)
47
  # The instructor will also provide a secret prompt to initialize the chat bot
48
  text_input = gr.TextArea(label='Copy and paste your text below', value=os.environ.get("SECRET_PROMPT"), lines=2)
49
- file_input = None
50
- instructor_input = None
51
  api_input = os.environ.get("OPENAI_API_KEY")
52
- learning_objectives = None
53
 
54
  with gr.Row():
55
  vs_build_button = gr.Button(value = 'Start Studying with Your Tutor!', scale=1)
 
46
  embed_key(os.environ.get("OPENAI_API_KEY"), study_tutor)
47
  # The instructor will also provide a secret prompt to initialize the chat bot
48
  text_input = gr.TextArea(label='Copy and paste your text below', value=os.environ.get("SECRET_PROMPT"), lines=2)
49
+ file_input = ""
50
+ instructor_input = ""
51
  api_input = os.environ.get("OPENAI_API_KEY")
52
+ learning_objectives = ""
53
 
54
  with gr.Row():
55
  vs_build_button = gr.Button(value = 'Start Studying with Your Tutor!', scale=1)