Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import start
|
| 3 |
|
| 4 |
def pwcheck(password):
|
| 5 |
-
return str(start.clf(password))
|
| 6 |
|
| 7 |
iface = gr.Interface(fn=pwcheck, inputs="text", outputs="text")
|
| 8 |
iface.launch()
|
|
|
|
| 2 |
import start
|
| 3 |
|
| 4 |
def pwcheck(password):
|
| 5 |
+
return str(float(start.clf(password)[0][0]))
|
| 6 |
|
| 7 |
iface = gr.Interface(fn=pwcheck, inputs="text", outputs="text")
|
| 8 |
iface.launch()
|