tanvir-ishraq
commited on
Commit
•
0a26706
1
Parent(s):
5f3adef
Update app.py
Browse files
app.py
CHANGED
@@ -24,17 +24,4 @@ label = gr.outputs.Label(num_top_classes=5)
|
|
24 |
#interface with i/o
|
25 |
iface = gr.Interface(fn=detect_question, inputs="text", outputs=label)
|
26 |
iface.launch(inline=False)
|
27 |
-
|
28 |
-
|
29 |
-
# def your_function(input1):
|
30 |
-
# # my processing
|
31 |
-
# class_probs = ...
|
32 |
-
# some_text = ...
|
33 |
-
# return class_probs, some_text
|
34 |
-
#
|
35 |
-
# iface = gr.Interface(
|
36 |
-
# fn=your_function,
|
37 |
-
# inputs="textbox",
|
38 |
-
# outputs=["json", "text"]
|
39 |
-
# )
|
40 |
|
|
|
24 |
#interface with i/o
|
25 |
iface = gr.Interface(fn=detect_question, inputs="text", outputs=label)
|
26 |
iface.launch(inline=False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|