mdj1412 commited on
Commit
1acabbc
1 Parent(s): 6671a55

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
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
- title=title, theme="peach",
44
- allow_flagging="auto",
45
- description=description, examples=examples)
 
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",