robjm16 commited on
Commit
0f9fea5
·
1 Parent(s): 10f681d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -33,9 +33,11 @@ from transformers import GPT2TokenizerFast
33
  ################################# VARIABLES #########################################
34
 
35
  USE_INTERFACE = True # Change to False if you want to run the code without the Gradio interface, and instead see a single pre-supplied question
36
- filepath = '/content/drive/MyDrive/Colab Notebooks/Data/Compilation_investment_outlook_2023.docx' # Path to document containing domain content. initial cleaning of domain content
37
- # can be done inside (eg, using Python) or outside (eg, using Word),
38
- # depending on needs and circumstances.
 
 
39
  # emb_filepath = 'PATH HERE' # Path to document containing saved content embeddings, if applicable
40
  COMPLETIONS_MODEL = "text-davinci-003"
41
  openai.api_key = 'YOUR KEY' # TAKE OUT WHEN PUBLIC !
 
33
  ################################# VARIABLES #########################################
34
 
35
  USE_INTERFACE = True # Change to False if you want to run the code without the Gradio interface, and instead see a single pre-supplied question
36
+ filepath =
37
+ https://huggingface.co/spaces/robjm16/domain_specific_ChatGPT/blob/main/Compilation_investment_outlook_2023%20(2).docx
38
+ # Path to document containing domain content. Initial cleaning of domain content
39
+ # can be done inside (eg, using Python) or outside (eg, using Word),
40
+ # depending on needs and circumstances.
41
  # emb_filepath = 'PATH HERE' # Path to document containing saved content embeddings, if applicable
42
  COMPLETIONS_MODEL = "text-davinci-003"
43
  openai.api_key = 'YOUR KEY' # TAKE OUT WHEN PUBLIC !