Spaces:
Running
Running
Update app.py
Browse files
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=
|
| 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 |
|