Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ def run_gpt(
|
|
133 |
def compress_data(c, instruct, history):
|
134 |
seed=random.randint(1,1000000000)
|
135 |
|
136 |
-
print (c)
|
137 |
#tot=len(purpose)
|
138 |
#print(tot)
|
139 |
divr=int(c)/MAX_DATA
|
@@ -160,12 +160,12 @@ def compress_data(c, instruct, history):
|
|
160 |
max_tokens=8192,
|
161 |
seed=seed,
|
162 |
direction=instruct,
|
163 |
-
knowledge=
|
164 |
history=hist,
|
165 |
)
|
166 |
out.append(resp)
|
167 |
-
new_history = resp
|
168 |
-
print (resp)
|
169 |
#out+=resp
|
170 |
e=e+chunk
|
171 |
s=s+chunk
|
|
|
133 |
def compress_data(c, instruct, history):
|
134 |
seed=random.randint(1,1000000000)
|
135 |
|
136 |
+
print (f'c:: {c}')
|
137 |
#tot=len(purpose)
|
138 |
#print(tot)
|
139 |
divr=int(c)/MAX_DATA
|
|
|
160 |
max_tokens=8192,
|
161 |
seed=seed,
|
162 |
direction=instruct,
|
163 |
+
knowledge="",
|
164 |
history=hist,
|
165 |
)
|
166 |
out.append(resp)
|
167 |
+
#new_history = resp
|
168 |
+
#print (resp)
|
169 |
#out+=resp
|
170 |
e=e+chunk
|
171 |
s=s+chunk
|