Remove unneeded functions
Browse files
app.py
CHANGED
|
@@ -16,15 +16,6 @@ from fromage import utils
|
|
| 16 |
BASE_WIDTH = 512
|
| 17 |
MODEL_DIR = './fromage_model/fromage_vis4'
|
| 18 |
|
| 19 |
-
def upload_image(file):
|
| 20 |
-
return Image.open(file)
|
| 21 |
-
|
| 22 |
-
def upload_button_config():
|
| 23 |
-
return gr.update(visible=False)
|
| 24 |
-
|
| 25 |
-
def upload_textbox_config(text_in):
|
| 26 |
-
return gr.update(visible=True)
|
| 27 |
-
|
| 28 |
|
| 29 |
class ChatBotCheese:
|
| 30 |
def __init__(self):
|
|
|
|
| 16 |
BASE_WIDTH = 512
|
| 17 |
MODEL_DIR = './fromage_model/fromage_vis4'
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
class ChatBotCheese:
|
| 21 |
def __init__(self):
|