Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
|
9 |
filename = "output_topic_details.txt" # Path to the file storing destress-specific details
|
10 |
retrieval_model_name = 'output/sentence-transformer-finetuned/'
|
11 |
|
12 |
-
#openai.api_key = os.environ["OPENAI_API_KEY"]
|
13 |
|
14 |
system_message = "You are a comfort chatbot specialized in providing information on destressing activities."
|
15 |
# Initial system message to set the behavior of the assistant
|
@@ -137,7 +137,6 @@ with gr.Blocks(theme=theme) as demo:
|
|
137 |
|
138 |
with gr.Row():
|
139 |
with gr.Column(scale=0.8):
|
140 |
-
gr.Markdown(topics) # Show the topics on the left side
|
141 |
|
142 |
|
143 |
# Show the topics on the left side
|
|
|
9 |
filename = "output_topic_details.txt" # Path to the file storing destress-specific details
|
10 |
retrieval_model_name = 'output/sentence-transformer-finetuned/'
|
11 |
|
12 |
+
# openai.api_key = os.environ["OPENAI_API_KEY"]
|
13 |
|
14 |
system_message = "You are a comfort chatbot specialized in providing information on destressing activities."
|
15 |
# Initial system message to set the behavior of the assistant
|
|
|
137 |
|
138 |
with gr.Row():
|
139 |
with gr.Column(scale=0.8):
|
|
|
140 |
|
141 |
|
142 |
# Show the topics on the left side
|