amburp commited on
Commit
0e908e7
·
verified ·
1 Parent(s): 15e1fb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ os.environ["TOKENIZERS_PARALLELISM"] = "false"
9
  filename = "output_topic_details.txt" # Path to the file storing chess-specific details
10
  retrieval_model_name = 'output/sentence-transformer-finetuned/'
11
 
12
- openai.api_key = os.environ["HF_TOKEN"]
13
 
14
  system_message = "You are a eco-friendly travel chatbot specialized in providing information on eco-friendly restaurants, hotels, and attractions in NYC, you can also provide the user with environment-themed pickup lines."
15
  # Initial system message to set the behavior of the assistant
@@ -168,4 +168,4 @@ with gr.Blocks(theme=theme) as demo:
168
 
169
 
170
  # Launch the Gradio app to allow user interaction
171
- demo.launch(share=True)
 
9
  filename = "output_topic_details.txt" # Path to the file storing chess-specific details
10
  retrieval_model_name = 'output/sentence-transformer-finetuned/'
11
 
12
+ openai.api_key = os.getenv["HF_TOKEN"]
13
 
14
  system_message = "You are a eco-friendly travel chatbot specialized in providing information on eco-friendly restaurants, hotels, and attractions in NYC, you can also provide the user with environment-themed pickup lines."
15
  # Initial system message to set the behavior of the assistant
 
168
 
169
 
170
  # Launch the Gradio app to allow user interaction
171
+ demo.launch()