Bhuvan R Shetty
commited on
Commit
·
f9b14e7
1
Parent(s):
15097bd
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def
|
4 |
return "hello"
|
5 |
|
6 |
-
interface=gr.Interface(fn=
|
7 |
interface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def textclassifer(text):
|
4 |
return "hello"
|
5 |
|
6 |
+
interface=gr.Interface(fn=textclassifer,inputs='text',outputs='text')
|
7 |
interface.launch()
|