Update app.py
Browse files
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
|
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,
|