rubend18 commited on
Commit
a204725
·
1 Parent(s): 8878be0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def string_to_list(string):
27
  import gradio as gr
28
 
29
  def function(valores):
30
- return entropy(valores.split(','))
31
 
32
  demo = gr.Interface(
33
  fn=function,
 
27
  import gradio as gr
28
 
29
  def function(valores):
30
+ return entropy(string_to_list(valores))
31
 
32
  demo = gr.Interface(
33
  fn=function,