Spaces:
Runtime error
Runtime error
Synced repo using 'sync_with_huggingface' Github Action
Browse files
app.py
CHANGED
@@ -245,7 +245,7 @@ def main():
|
|
245 |
)
|
246 |
|
247 |
# input text for openAiKey
|
248 |
-
openAiKey = st.text_input(label="Input the openai key")
|
249 |
if "openAiKey" in st.session_state:
|
250 |
st.session_state["openAiKey"] = openAiKey
|
251 |
else:
|
@@ -413,7 +413,7 @@ def main():
|
|
413 |
|
414 |
# providing the rules for the answers to be generated
|
415 |
additional_rules = """
|
416 |
-
|
417 |
"""
|
418 |
|
419 |
question = st.session_state["selected_items"]
|
|
|
245 |
)
|
246 |
|
247 |
# input text for openAiKey
|
248 |
+
openAiKey = st.text_input(label="Input the openai key", type="password")
|
249 |
if "openAiKey" in st.session_state:
|
250 |
st.session_state["openAiKey"] = openAiKey
|
251 |
else:
|
|
|
413 |
|
414 |
# providing the rules for the answers to be generated
|
415 |
additional_rules = """
|
416 |
+
provide only the answers as paragraphs by numbering it accordingly without providing questions and additional tags
|
417 |
"""
|
418 |
|
419 |
question = st.session_state["selected_items"]
|