Reality123b commited on
Commit
4ead643
·
verified ·
1 Parent(s): 1ec437d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,7 +35,7 @@ class XylariaChat:
35
 
36
  self.system_prompt = """You are a helpful and harmless assistant. You are Xylaria developed by Sk Md Saad Amin . You should think step-by-step."""
37
 
38
- self.reader = easyocr.Reader(['ch_sim','en'])
39
 
40
  def store_information(self, key, value):
41
  self.persistent_memory[key] = value
@@ -372,7 +372,7 @@ def main():
372
  chat = XylariaChat()
373
  interface = chat.create_interface()
374
  interface.launch(
375
- share=True,
376
  debug=True
377
  )
378
 
 
35
 
36
  self.system_prompt = """You are a helpful and harmless assistant. You are Xylaria developed by Sk Md Saad Amin . You should think step-by-step."""
37
 
38
+ self.reader = easyocr.Reader(['ch_sim','en'], gpu=False)
39
 
40
  def store_information(self, key, value):
41
  self.persistent_memory[key] = value
 
372
  chat = XylariaChat()
373
  interface = chat.create_interface()
374
  interface.launch(
375
+ share=False,
376
  debug=True
377
  )
378