Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -273,23 +273,6 @@ phi4_model = AutoModelForCausalLM.from_pretrained(
|
|
273 |
_attn_implementation="eager",
|
274 |
)
|
275 |
|
276 |
-
DESCRIPTION = """
|
277 |
-
# Agent Dino 🌠 """
|
278 |
-
|
279 |
-
css = '''
|
280 |
-
h1 {
|
281 |
-
text-align: center;
|
282 |
-
display: block;
|
283 |
-
}
|
284 |
-
|
285 |
-
#duplicate-button {
|
286 |
-
margin: auto;
|
287 |
-
color: #fff;
|
288 |
-
background: #1565c0;
|
289 |
-
border-radius: 100vh;
|
290 |
-
}
|
291 |
-
'''
|
292 |
-
|
293 |
MAX_MAX_NEW_TOKENS = 2048
|
294 |
DEFAULT_MAX_NEW_TOKENS = 1024
|
295 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
@@ -750,7 +733,7 @@ demo = gr.ChatInterface(
|
|
750 |
],
|
751 |
cache_examples=False,
|
752 |
type="messages",
|
753 |
-
description=
|
754 |
css=css,
|
755 |
fill_height=True,
|
756 |
textbox=gr.MultimodalTextbox(
|
|
|
273 |
_attn_implementation="eager",
|
274 |
)
|
275 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
MAX_MAX_NEW_TOKENS = 2048
|
277 |
DEFAULT_MAX_NEW_TOKENS = 1024
|
278 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
|
|
733 |
],
|
734 |
cache_examples=False,
|
735 |
type="messages",
|
736 |
+
description="# **Agent Dino `@phi4 'prompt..'`, `@image`, etc..**",
|
737 |
css=css,
|
738 |
fill_height=True,
|
739 |
textbox=gr.MultimodalTextbox(
|