akhaliq HF Staff commited on
Commit
0f088a7
·
1 Parent(s): 79f594a

chore: silence asyncio logging and remove default greeting from chat interface

Browse files
Files changed (2) hide show
  1. app.py +5 -0
  2. index.html +0 -11
app.py CHANGED
@@ -11,6 +11,11 @@ from transformers import AutoProcessor, MiniCPMV4_6ForConditionalGeneration, Tex
11
  from gradio import Server
12
  from gradio.data_classes import FileData
13
  from fastapi.responses import HTMLResponse
 
 
 
 
 
14
  from starlette.middleware import Middleware
15
  import hashlib
16
  import base64
 
11
  from gradio import Server
12
  from gradio.data_classes import FileData
13
  from fastapi.responses import HTMLResponse
14
+ import logging
15
+
16
+ # Silence asyncio noise from ZeroGPU cleanup
17
+ logging.getLogger("asyncio").setLevel(logging.CRITICAL)
18
+
19
  from starlette.middleware import Middleware
20
  import hashlib
21
  import base64
index.html CHANGED
@@ -334,17 +334,6 @@
334
  <div id="tab-chat" class="tab-content active flex-col h-full">
335
  <main id="chat-messages" class="chat-scroll-area px-4 flex-1">
336
  <div class="max-w-3xl mx-auto space-y-8 pt-24 pb-40" id="chat-container">
337
- <!-- Greeting -->
338
- <div class="flex gap-4 items-start">
339
- <div class="bot-message p-6 message-bubble shadow-2xl">
340
- <p class="text-white/90 leading-relaxed text-[15px]">
341
- Welcome to <span class="font-bold text-[#27D4EA]">MiniCPM-V 4.6 Premium</span>.
342
- I've been upgraded with <span class="text-white font-bold">Thinking Mode</span> and <span class="text-white font-bold">Multimodal Streaming</span>.
343
- <br><br>
344
- Upload multiple images or a video to see me in action.
345
- </p>
346
- </div>
347
- </div>
348
  </div>
349
  </main>
350
 
 
334
  <div id="tab-chat" class="tab-content active flex-col h-full">
335
  <main id="chat-messages" class="chat-scroll-area px-4 flex-1">
336
  <div class="max-w-3xl mx-auto space-y-8 pt-24 pb-40" id="chat-container">
 
 
 
 
 
 
 
 
 
 
 
337
  </div>
338
  </main>
339