marcelcastrobr
commited on
Commit
·
b0b0ba6
1
Parent(s):
aea6ff4
Add application file
Browse files
app.py
CHANGED
@@ -3,5 +3,8 @@ import gradio as gr
|
|
3 |
def greet(name):
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
-
iface = gr.Interface(
|
|
|
|
|
|
|
7 |
iface.launch()
|
|
|
3 |
def greet(name):
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
+
iface = gr.Interface(
|
7 |
+
title = "Zero-shot Classification of Norwegian Text",
|
8 |
+
description = "Demo of zero-shot classification using NB-Bert base model (Norwegian).",
|
9 |
+
fn=greet, inputs="text", outputs="text")
|
10 |
iface.launch()
|