Sayeed95 commited on
Commit
9c27b2f
·
1 Parent(s): ce37991

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  import warnings
3
  import json
4
- import openai
5
  import os
6
 
7
  import tiktoken
@@ -12,7 +12,7 @@ from langchain.document_loaders import PyPDFLoader
12
 
13
  warnings.filterwarnings('ignore')
14
 
15
- openai.api_key = "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"
16
 
17
 
18
  def num_tokens_from_string(string: str, encoding_name: str) -> int:
 
1
  import gradio as gr
2
  import warnings
3
  import json
4
+ #import openai
5
  import os
6
 
7
  import tiktoken
 
12
 
13
  warnings.filterwarnings('ignore')
14
 
15
+ #openai.api_key = "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"
16
 
17
 
18
  def num_tokens_from_string(string: str, encoding_name: str) -> int: