Update app.py
Browse files
app.py
CHANGED
@@ -24,6 +24,9 @@ DESCRIPTION = '''
|
|
24 |
</div>
|
25 |
'''
|
26 |
|
|
|
|
|
|
|
27 |
css = """
|
28 |
h1 {
|
29 |
text-align: center;
|
@@ -106,7 +109,6 @@ def process_image(image_input, unit):
|
|
106 |
def main(api_key="", text_input="", image_input=None, unit=""):
|
107 |
endpoints = endpoints(api_key)
|
108 |
SYS_PROMPT = read('system_prompt.txt')
|
109 |
-
LICENSE = 'MODEL: ' + model_name + ' LOADED'
|
110 |
if text_input and image_input is None:
|
111 |
return process_text(text_input,unit)
|
112 |
elif image_input is not None:
|
|
|
24 |
</div>
|
25 |
'''
|
26 |
|
27 |
+
LICENSE = 'MODEL: ' + model_name + ' LOADED'
|
28 |
+
|
29 |
+
|
30 |
css = """
|
31 |
h1 {
|
32 |
text-align: center;
|
|
|
109 |
def main(api_key="", text_input="", image_input=None, unit=""):
|
110 |
endpoints = endpoints(api_key)
|
111 |
SYS_PROMPT = read('system_prompt.txt')
|
|
|
112 |
if text_input and image_input is None:
|
113 |
return process_text(text_input,unit)
|
114 |
elif image_input is not None:
|