Update app.py
Browse files
app.py
CHANGED
@@ -1,15 +1,13 @@
|
|
1 |
-
from typing import Text, Any, Dict, Optional
|
2 |
-
|
3 |
import json
|
4 |
import copy
|
|
|
5 |
|
6 |
import tensorflow as tf
|
7 |
import tensorflow_text
|
8 |
from tensorflow.python.saved_model import tag_constants
|
9 |
from huggingface_hub import Repository
|
10 |
|
11 |
-
|
12 |
-
#from pingpong import PingPong
|
13 |
#from pingpong.gradio import GradioAlpacaChatPPManager
|
14 |
#from pingpong.context import CtxLastWindowStrategy
|
15 |
|
|
|
|
|
|
|
1 |
import json
|
2 |
import copy
|
3 |
+
import gradio as gr
|
4 |
|
5 |
import tensorflow as tf
|
6 |
import tensorflow_text
|
7 |
from tensorflow.python.saved_model import tag_constants
|
8 |
from huggingface_hub import Repository
|
9 |
|
10 |
+
from pingpong import PingPong
|
|
|
11 |
#from pingpong.gradio import GradioAlpacaChatPPManager
|
12 |
#from pingpong.context import CtxLastWindowStrategy
|
13 |
|