vtrv.vls commited on
Commit
e7d646f
·
1 Parent(s): 9e16c0f

s3 functionality

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,12 +15,12 @@ S3_SESSION = None
15
 
16
  def giga_gen(content):
17
  res = generate(content,'auth_token.json')
18
- send_to_s3(res, f'giga_{str(datetime.now()).replace(" ", "_")}.json', S3_SESSION)
19
  return res
20
 
21
  def tiny_gen(content):
22
  res = response_tiny_llama(TINY_LLAMA, content)
23
- send_to_s3(res, f'tiny_{str(datetime.now()).replace(" ", "_")}.json', S3_SESSION)
24
  return res
25
 
26
  def tab_arena():
 
15
 
16
  def giga_gen(content):
17
  res = generate(content,'auth_token.json')
18
+ send_to_s3(res, f'protobench/giga_{str(datetime.now()).replace(" ", "_")}.json', S3_SESSION)
19
  return res
20
 
21
  def tiny_gen(content):
22
  res = response_tiny_llama(TINY_LLAMA, content)
23
+ send_to_s3(res, f'protobench/tiny_{str(datetime.now()).replace(" ", "_")}.json', S3_SESSION)
24
  return res
25
 
26
  def tab_arena():