Spaces:
Running
on
Zero
Running
on
Zero
use new model
Browse files
app.py
CHANGED
|
@@ -15,8 +15,8 @@ import gradio as gr
|
|
| 15 |
DEFAULT_MODEL_A_ID = "livekit/turn-detector"
|
| 16 |
DEFAULT_MODEL_A_REV = "v0.3.0-intl"
|
| 17 |
|
| 18 |
-
DEFAULT_MODEL_B_ID = "livekit/
|
| 19 |
-
DEFAULT_MODEL_B_REV = "
|
| 20 |
|
| 21 |
|
| 22 |
# ===== Utilities =====
|
|
@@ -243,7 +243,7 @@ def compare_models(
|
|
| 243 |
EXAMPLE_CONVO = """<|im_start|>assistant
|
| 244 |
what is your phone number<|im_end|>
|
| 245 |
<|im_start|>user
|
| 246 |
-
|
| 247 |
|
| 248 |
with gr.Blocks(theme="soft", title="Turn Detector Debugger — Side by Side") as demo:
|
| 249 |
gr.Markdown(
|
|
|
|
| 15 |
DEFAULT_MODEL_A_ID = "livekit/turn-detector"
|
| 16 |
DEFAULT_MODEL_A_REV = "v0.3.0-intl"
|
| 17 |
|
| 18 |
+
DEFAULT_MODEL_B_ID = "livekit/turn-detector"
|
| 19 |
+
DEFAULT_MODEL_B_REV = "v0.3.1-intl" # adjust if there's a specific revision
|
| 20 |
|
| 21 |
|
| 22 |
# ===== Utilities =====
|
|
|
|
| 243 |
EXAMPLE_CONVO = """<|im_start|>assistant
|
| 244 |
what is your phone number<|im_end|>
|
| 245 |
<|im_start|>user
|
| 246 |
+
five five five four one zero zero four two three<|im_end|>"""
|
| 247 |
|
| 248 |
with gr.Blocks(theme="soft", title="Turn Detector Debugger — Side by Side") as demo:
|
| 249 |
gr.Markdown(
|