Upload app.py
Browse files
app.py
CHANGED
@@ -68,6 +68,12 @@ demo1 = gr.Interface.load("models/cardiffnlp/twitter-roberta-base-sentiment", in
|
|
68 |
# title=title, theme="peach",
|
69 |
# allow_flagging="auto",
|
70 |
# description=description, examples=examples)
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
|
72 |
if __name__ == "__main__":
|
73 |
-
|
|
|
68 |
# title=title, theme="peach",
|
69 |
# allow_flagging="auto",
|
70 |
# description=description, examples=examples)
|
71 |
+
|
72 |
+
|
73 |
+
demo3 = gr.Interface.load("models/mdj1412/movie_review_score_discriminator_eng", inputs="text", outputs="text",
|
74 |
+
title=title, theme="peach",
|
75 |
+
allow_flagging="auto",
|
76 |
+
description=description, examples=examples)
|
77 |
|
78 |
if __name__ == "__main__":
|
79 |
+
demo3.launch()
|