Spaces:
Build error
Build error
Commit
·
e90ba07
1
Parent(s):
070335a
Update app.py
Browse files
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 =
|
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)
|
|
|
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)
|