File size: 689 Bytes
9adc594
 
 
 
 
 
 
 
14568fc
 
9adc594
 
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr

def same_or_different(audio1, audio2):
  # Run model to see if spoken by same person or not
  # Return the result as a custom HTML snippet
  code = """<py-script> print('Hello, World!') </py-script>"""
  # "<a  style='color:#eb9f59;' href = 'https://github.com/gandres-dev/Hackaton-Common-Voice'> Repositorio de la app"
  return code
#description = "<a  style='color:#eb9f59;' href = 'prueba.html'> Repositorio de la app"
description = "<a  style='color:#eb9f59;' href = 'https://github.com/gandres-dev/Hackaton-Common-Voice'> Repositorio de la app"

iface = gr.Interface(fn=same_or_different, inputs=["text", "text"], outputs="html", description=description).launch()