Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ lpmc_client = gr.load("seungheondoh/LP-Music-Caps-demo", src="spaces")
|
|
6 |
|
7 |
from gradio_client import Client
|
8 |
|
9 |
-
client = Client("https://fffiloni-test-llama-api.hf.space/", hf_token=hf_token)
|
10 |
zrscp_client = Client("https://fffiloni-zeroscope--76p9h.hf.space/", hf_token=hf_token)
|
11 |
|
12 |
from pydub import AudioSegment
|
@@ -68,6 +68,7 @@ def infer(audio_file):
|
|
68 |
|
69 |
result = client.predict(
|
70 |
llama_q, # str in 'Message' Textbox component
|
|
|
71 |
api_name="/predict"
|
72 |
)
|
73 |
|
|
|
6 |
|
7 |
from gradio_client import Client
|
8 |
|
9 |
+
client = Client("https://fffiloni-test-llama-api-debug.hf.space/", hf_token=hf_token)
|
10 |
zrscp_client = Client("https://fffiloni-zeroscope--76p9h.hf.space/", hf_token=hf_token)
|
11 |
|
12 |
from pydub import AudioSegment
|
|
|
68 |
|
69 |
result = client.predict(
|
70 |
llama_q, # str in 'Message' Textbox component
|
71 |
+
"M2I",
|
72 |
api_name="/predict"
|
73 |
)
|
74 |
|