File size: 402 Bytes
0f43f8a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import os
import shutil
import hmac
import hashlib
import base64
import subprocess
import time
from mysite.logger import logger
import async_timeout
import asyncio
import mysite.interpreter.interpreter_config 
from mysite.interpreter.process import process_file,no_process_file,validate_signature
from mysite.interpreter.interpreter import completion,chat_with_interpreter
 
GENERATION_TIMEOUT_SEC=60