Spaces:
Runtime error
Runtime error
Commit ·
9b9d350
1
Parent(s): 9ac316e
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
from __future__ import annotations
|
| 2 |
import logging
|
| 3 |
import json
|
|
@@ -61,8 +62,6 @@ The default model role of the app is the original assistant of ChatGPT, but you
|
|
| 61 |
|
| 62 |
MODELS = ["gpt-3.5-turbo", "gpt-3.5-turbo-0301",]
|
| 63 |
|
| 64 |
-
|
| 65 |
-
|
| 66 |
def postprocess(
|
| 67 |
self, y: List[Tuple[str | None, str | None]]
|
| 68 |
) -> List[Tuple[str | None, str | None]]:
|
|
|
|
| 1 |
+
# -*- coding:utf-8 -*-
|
| 2 |
from __future__ import annotations
|
| 3 |
import logging
|
| 4 |
import json
|
|
|
|
| 62 |
|
| 63 |
MODELS = ["gpt-3.5-turbo", "gpt-3.5-turbo-0301",]
|
| 64 |
|
|
|
|
|
|
|
| 65 |
def postprocess(
|
| 66 |
self, y: List[Tuple[str | None, str | None]]
|
| 67 |
) -> List[Tuple[str | None, str | None]]:
|