Spaces:
Running
Running
readme
Browse files- app.py +1 -0
- requirements.txt +1 -1
app.py
CHANGED
@@ -5,6 +5,7 @@ import logging
|
|
5 |
import urllib.request
|
6 |
from utils import model_name_mapping, urial_template, openai_base_request, DEFAULT_API_KEY
|
7 |
from constant import js_code_label, HEADER_MD
|
|
|
8 |
|
9 |
# add logging info to console
|
10 |
logging.basicConfig(level=logging.INFO)
|
|
|
5 |
import urllib.request
|
6 |
from utils import model_name_mapping, urial_template, openai_base_request, DEFAULT_API_KEY
|
7 |
from constant import js_code_label, HEADER_MD
|
8 |
+
from openai import OpenAI
|
9 |
|
10 |
# add logging info to console
|
11 |
logging.basicConfig(level=logging.INFO)
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
huggingface_hub==0.22.2
|
2 |
-
openai
|
|
|
1 |
huggingface_hub==0.22.2
|
2 |
+
openai
|