Spaces:
Running
Running
shaocongma
commited on
Commit
•
6e83d02
1
Parent(s):
81a0bcf
update annoncements
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ else:
|
|
40 |
except openai.error.AuthenticationError:
|
41 |
IS_OPENAI_API_KEY_AVAILABLE = False
|
42 |
|
43 |
-
DEFAULT_MODEL = "gpt-4" if
|
44 |
GPT4_INTERACTIVE = True if GPT4_ENBALE else False
|
45 |
DEFAULT_SECTIONS = ["introduction", "related works", "backgrounds", "methodology", "experiments",
|
46 |
"conclusion", "abstract"] if IS_OPENAI_API_KEY_AVAILABLE \
|
|
|
40 |
except openai.error.AuthenticationError:
|
41 |
IS_OPENAI_API_KEY_AVAILABLE = False
|
42 |
|
43 |
+
DEFAULT_MODEL = "gpt-4" if GPT4_ENBALE else "gpt-3.5-turbo"
|
44 |
GPT4_INTERACTIVE = True if GPT4_ENBALE else False
|
45 |
DEFAULT_SECTIONS = ["introduction", "related works", "backgrounds", "methodology", "experiments",
|
46 |
"conclusion", "abstract"] if IS_OPENAI_API_KEY_AVAILABLE \
|