Upload app.py
Browse files
app.py
CHANGED
@@ -39,10 +39,11 @@ def fn(text):
|
|
39 |
return "hello, " + text
|
40 |
|
41 |
|
42 |
-
demo1 = gr.Interface.load("models/cardiffnlp/twitter-roberta-base-sentiment", inputs="text", outputs="text",
|
43 |
-
|
44 |
-
|
45 |
-
|
|
|
46 |
# demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
47 |
|
48 |
# demo2 = gr.Interface(fn=greet, inputs="text", outputs="text",
|
|
|
39 |
return "hello, " + text
|
40 |
|
41 |
|
42 |
+
# demo1 = gr.Interface.load("models/cardiffnlp/twitter-roberta-base-sentiment", inputs="text", outputs="text",
|
43 |
+
# title=title, theme="peach",
|
44 |
+
# allow_flagging="auto",
|
45 |
+
# description=description, examples=examples)
|
46 |
+
|
47 |
# demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
48 |
|
49 |
# demo2 = gr.Interface(fn=greet, inputs="text", outputs="text",
|