Pasula commited on
Commit
6fe9d60
·
1 Parent(s): 43df712

update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -10,14 +10,16 @@ client = InferenceClient(
10
  def call_compilex_data():
11
  txt_file_path = "compilerx_json.json"
12
 
13
- with open(txt_file_path, 'r') as file:
14
- input_data = file.read()
 
 
15
 
16
  output = client.post(data=input_data)
17
 
18
  return "Done Dev ! Data Added"
19
 
20
- # call_compilex_data()
21
 
22
  def format_prompt(message, history):
23
  prompt = "<s>"
 
10
  def call_compilex_data():
11
  txt_file_path = "compilerx_json.json"
12
 
13
+ # with open(txt_file_path, 'r') as file:
14
+ # input_data = file.read()
15
+ input_data = "CompilerX || Find Contacts Easily Home Services Company Data Industry Search Email List CompilerX-GPT Pricing Get Demo Email Verifier Get Demo Sign up Login We\u2019ve Launched Our New Extension CompilerX-GPT (BETA)."
16
+
17
 
18
  output = client.post(data=input_data)
19
 
20
  return "Done Dev ! Data Added"
21
 
22
+ call_compilex_data()
23
 
24
  def format_prompt(message, history):
25
  prompt = "<s>"