Kaynağa Gözat

fix e2e_webui (#658)

* fix e2e_webui

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
spicysama 1 yıl önce
ebeveyn
işleme
ce22ce49c3
1 değiştirilmiş dosya ile 0 ekleme ve 2 silme
  1. 0 2
      tools/e2e_webui.py

+ 0 - 2
tools/e2e_webui.py

@@ -65,8 +65,6 @@ async def process_audio_input(
     elif text_input:
         sr = 44100
         sys_audio_data = None
-    else:
-        raise gr.Error("Invalid audio format")
 
     def append_to_chat_ctx(
         part: ServeTextPart | ServeVQPart, role: str = "assistant"