cryptocalypse commited on
Commit
1b865f8
·
verified ·
1 Parent(s): 69b0f8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -9
app.py CHANGED
@@ -1,20 +1,13 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
  from datasets import load_dataset
4
- ## TORAH CODES LIBS
5
- from lib.gematria import calculate_gematria, strip_diacritics
6
- from lib.temuraeh import temura_conv
7
- from lib.notarikon import notarikon
8
- from lib.ziruph import encrypt,decrypt
9
- from lib.entropy import *
10
- from torahcodes.resources.func.torah import *
11
- from lib.sonsofstars import *
12
  import pandas as pd
13
  ## Loas I classes
14
  from lib.me import *
15
 
16
  ## Initialize I class
17
- ME = I("","","",sophia_prop)
18
  ## Memory dataframe viewer
19
  fastmem = {}
20
 
@@ -115,6 +108,10 @@ def respond(
115
  temperature,
116
  top_p,
117
  ):
 
 
 
 
118
  messages = [{"role": "system", "content": systemmsg}]
119
 
120
  for val in history:
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
  from datasets import load_dataset
4
+
 
 
 
 
 
 
 
5
  import pandas as pd
6
  ## Loas I classes
7
  from lib.me import *
8
 
9
  ## Initialize I class
10
+ ME = I("","","","")
11
  ## Memory dataframe viewer
12
  fastmem = {}
13
 
 
108
  temperature,
109
  top_p,
110
  ):
111
+
112
+ global fastmem
113
+ fastmem = ME.longToShortFast(message)
114
+
115
  messages = [{"role": "system", "content": systemmsg}]
116
 
117
  for val in history: