johann22 commited on
Commit
53f694a
·
verified ·
1 Parent(s): c7b0370

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -32,7 +32,7 @@ loaded_model = whisper.load_model(current_size)
32
 
33
  VERBOSE = True
34
  MAX_HISTORY = 100
35
- MAX_DATA = 20000
36
 
37
  def dl(inp,img):
38
  uid=uuid.uuid4()
@@ -169,7 +169,7 @@ def compress_data(c, instruct, history, seed):
169
  resp = run_gpt(
170
  COMPRESS_DATA_PROMPT_SMALL,
171
  stop_tokens=["observation:", "task:", "action:", "thought:"],
172
- max_tokens=18000,
173
  seed=seed,
174
  direction=instruct,
175
  knowledge="",
@@ -211,7 +211,7 @@ def compress_data_og(c, instruct, history, seed):
211
  resp = run_gpt(
212
  COMPRESS_DATA_PROMPT,
213
  stop_tokens=["observation:", "task:", "action:", "thought:"],
214
- max_tokens=18000,
215
  seed=seed,
216
  direction=instruct,
217
  knowledge=new_history,
 
32
 
33
  VERBOSE = True
34
  MAX_HISTORY = 100
35
+ MAX_DATA = 16000
36
 
37
  def dl(inp,img):
38
  uid=uuid.uuid4()
 
169
  resp = run_gpt(
170
  COMPRESS_DATA_PROMPT_SMALL,
171
  stop_tokens=["observation:", "task:", "action:", "thought:"],
172
+ max_tokens=16000,
173
  seed=seed,
174
  direction=instruct,
175
  knowledge="",
 
211
  resp = run_gpt(
212
  COMPRESS_DATA_PROMPT,
213
  stop_tokens=["observation:", "task:", "action:", "thought:"],
214
+ max_tokens=16000,
215
  seed=seed,
216
  direction=instruct,
217
  knowledge=new_history,