rishi1985 commited on
Commit
ba819a6
·
1 Parent(s): 95016c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -109,13 +109,11 @@ async def get_answer_llama(request: Request ):
109
  print('proxy ip ', proxy )
110
  currtime= time.time()
111
  res= ""
112
- if currtime-llama_last_error<=3600:
113
- res = do_ML_LLAMA70b(text,0,proxy)
114
- else:
115
- res= do_ML_LLAMA70b_chori(text,0, proxy)
116
-
117
  dict={"LLAMA":res}
118
-
119
  return JSONResponse(dict)
120
 
121
 
 
109
  print('proxy ip ', proxy )
110
  currtime= time.time()
111
  res= ""
112
+ # if currtime-llama_last_error<=3600:
113
+ # res = do_ML_LLAMA70b(text,0,proxy)
114
+ # else:
115
+ res= do_ML_LLAMA70b_chori(text,0, proxy)
 
116
  dict={"LLAMA":res}
 
117
  return JSONResponse(dict)
118
 
119