File size: 402 Bytes
024edca
3d2aa58
024edca
 
 
 
 
de235e2
c32870d
 
b5b9333
de235e2
 
 
c32870d
1afbeb8
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