Gabi
#3
by
Gabipalanza
- opened
Gabi
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from gradio_client import Client, handle_file
|
2 |
+
|
3 |
+
client = Client("NexaAIDev/omni-audio-demo")
|
4 |
+
result = client.predict(
|
5 |
+
audio_path=handle_file('https://github.com/gradio-app/gradio/raw/main/test/test_files/audio_sample.wav'),
|
6 |
+
max_tokens=50,
|
7 |
+
api_name=" me gusta la pija"
|
8 |
+
)
|
9 |
+
print(result)
|