Upload llmdolphin.py
Browse files- llmdolphin.py +4 -4
llmdolphin.py
CHANGED
@@ -1434,7 +1434,7 @@ def dolphin_respond_auto(
|
|
1434 |
state: dict = {},
|
1435 |
progress=gr.Progress(track_tqdm=True),
|
1436 |
):
|
1437 |
-
try:
|
1438 |
#if not is_japanese(message): return [(None, None)]
|
1439 |
progress(0, desc="Processing...")
|
1440 |
|
@@ -1498,9 +1498,9 @@ def dolphin_respond_auto(
|
|
1498 |
for output in stream:
|
1499 |
outputs += output
|
1500 |
yield [(outputs, None)], gr.update(), gr.update()
|
1501 |
-
except Exception as e:
|
1502 |
-
|
1503 |
-
|
1504 |
|
1505 |
|
1506 |
def dolphin_parse_simple(
|
|
|
1434 |
state: dict = {},
|
1435 |
progress=gr.Progress(track_tqdm=True),
|
1436 |
):
|
1437 |
+
#try:
|
1438 |
#if not is_japanese(message): return [(None, None)]
|
1439 |
progress(0, desc="Processing...")
|
1440 |
|
|
|
1498 |
for output in stream:
|
1499 |
outputs += output
|
1500 |
yield [(outputs, None)], gr.update(), gr.update()
|
1501 |
+
#except Exception as e:
|
1502 |
+
# print(e)
|
1503 |
+
# yield [("", None)], gr.update(), gr.update()
|
1504 |
|
1505 |
|
1506 |
def dolphin_parse_simple(
|