Manul, da
commited on
Commit
·
1042d9f
1
Parent(s):
91b97b7
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
| 2 |
|
| 3 |
-
def
|
| 4 |
-
return "Hello " + name + "!!"
|
| 5 |
|
| 6 |
-
iface = gr.Interface(fn=
|
| 7 |
iface.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
import net
|
| 3 |
+
import start
|
| 4 |
|
| 5 |
+
def classify(text): return str(start.clf(text))
|
|
|
|
| 6 |
|
| 7 |
+
iface = gr.Interface(fn=classify, inputs="text", outputs="text")
|
| 8 |
iface.launch()
|