billyaungmyint commited on
Commit
0da5c07
·
verified ·
1 Parent(s): 61edca4

Sync from GitHub via hub-sync

Browse files
Files changed (2) hide show
  1. VERSION +1 -1
  2. main.py +4 -4
VERSION CHANGED
@@ -1 +1 @@
1
- 9e5bc2edbb4834010576ab5c6e6cc01eebd0e242
 
1
+ 1513969c6acce4c4f7ceba008e8b704165e46658
main.py CHANGED
@@ -24,7 +24,7 @@ def _build_label() -> str:
24
  )
25
  short_commit = commit[:7] if commit != "local" else commit
26
  version = os.getenv("APP_VERSION") or short_commit
27
- deployed_at = dt.datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S UTC")
28
  return f"Version: {version} | Commit: {short_commit} | Loaded: {deployed_at}"
29
 
30
 
@@ -473,9 +473,9 @@ with gr.Blocks(title="GitHub + HuggingFace + AI Chat Demo") as demo:
473
  gr.ChatInterface(
474
  chat_response,
475
  examples=[
476
- "What is the capital of France?",
477
- "Explain quantum computing in simple terms.",
478
- "Give me a low-cost model selection strategy for dev vs prod.",
479
  ],
480
  additional_inputs=[provider_dropdown, model_dropdown],
481
  title=None,
 
24
  )
25
  short_commit = commit[:7] if commit != "local" else commit
26
  version = os.getenv("APP_VERSION") or short_commit
27
+ deployed_at = dt.datetime.now(dt.UTC).strftime("%Y-%m-%d %H:%M:%S UTC")
28
  return f"Version: {version} | Commit: {short_commit} | Loaded: {deployed_at}"
29
 
30
 
 
473
  gr.ChatInterface(
474
  chat_response,
475
  examples=[
476
+ ["What is the capital of France?", "google", "gemini-2.0-flash-lite"],
477
+ ["Explain quantum computing in simple terms.", "github", "openai/gpt-4.1-mini"],
478
+ ["Give me a low-cost model selection strategy for dev vs prod.", "hf", "zai-org/GLM-4.7"],
479
  ],
480
  additional_inputs=[provider_dropdown, model_dropdown],
481
  title=None,