Atquiya-Labiba commited on
Commit ·
e7c3008
1
Parent(s): 4a4d1b0
Updated app.py
Browse files
app.py
CHANGED
|
@@ -29,6 +29,16 @@ examples = [
|
|
| 29 |
"What is the best way to evaluate performance of Generative Adverserial Network (GAN)? Perhaps measuring the distance between two distributions or maybe something else?"
|
| 30 |
]
|
| 31 |
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
"What is the best way to evaluate performance of Generative Adverserial Network (GAN)? Perhaps measuring the distance between two distributions or maybe something else?"
|
| 30 |
]
|
| 31 |
|
| 32 |
+
demo = gr.Interface(
|
| 33 |
+
fn=classify_question_tags,
|
| 34 |
+
inputs=gr.Textbox(lines=8, placeholder="Enter your question here..."),
|
| 35 |
+
outputs=gr.Label(num_top_classes=5),
|
| 36 |
+
)
|
| 37 |
+
|
| 38 |
+
demo.examples = gr.Examples(
|
| 39 |
+
examples=examples,
|
| 40 |
+
inputs=demo.input_components,
|
| 41 |
+
examples_per_page=1
|
| 42 |
+
)
|
| 43 |
+
|
| 44 |
+
demo.launch(inline=False)
|