Spaces:
Runtime error
Runtime error
mateoluksenberg
commited on
Commit
•
d36853b
1
Parent(s):
58324ac
Update app.py
Browse files
app.py
CHANGED
@@ -17,13 +17,13 @@ HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
|
17 |
MODEL_ID = MODEL_LIST[0]
|
18 |
MODEL_NAME = "GLM-4vq"
|
19 |
|
20 |
-
TITLE = "<h1>
|
21 |
|
22 |
DESCRIPTION = f"""
|
23 |
<center>
|
24 |
-
<p
|
25 |
<br>
|
26 |
-
|
27 |
</center>"""
|
28 |
|
29 |
CSS = """
|
@@ -182,10 +182,9 @@ chat_input = gr.MultimodalTextbox(
|
|
182 |
|
183 |
)
|
184 |
EXAMPLES = [
|
185 |
-
[{"text": "
|
186 |
-
[{"text": "
|
187 |
-
[{"text": "¿
|
188 |
-
[{"text": "در مورد این عکس توضیح بده و بگو این چه فصلی می تواند باشد", "files": ["nature.jpg"]}]
|
189 |
]
|
190 |
|
191 |
with gr.Blocks(css=CSS, theme="soft", fill_height=True) as demo:
|
|
|
17 |
MODEL_ID = MODEL_LIST[0]
|
18 |
MODEL_NAME = "GLM-4vq"
|
19 |
|
20 |
+
TITLE = "<h1>AI CHAT DOCS</h1>"
|
21 |
|
22 |
DESCRIPTION = f"""
|
23 |
<center>
|
24 |
+
<p>
|
25 |
<br>
|
26 |
+
USANDO MODELO: <a href="https://hf.co/nikravan/glm-4vq">{MODEL_NAME}</a>
|
27 |
</center>"""
|
28 |
|
29 |
CSS = """
|
|
|
182 |
|
183 |
)
|
184 |
EXAMPLES = [
|
185 |
+
[{"text": "Resumir Documento", }],
|
186 |
+
[{"text": "Explicar la Imagen", }],
|
187 |
+
[{"text": "¿De que es la foto?", "files": ["perro.jpg"]}]
|
|
|
188 |
]
|
189 |
|
190 |
with gr.Blocks(css=CSS, theme="soft", fill_height=True) as demo:
|