lorenzoscottb commited on
Commit
b638ff8
β€’
1 Parent(s): a86e9de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -91,12 +91,12 @@ interface_model_S = gr.Interface.load(
91
  title="SA Base English-Only",
92
  )
93
 
94
- # interface_model_G = gr.Interface.load(
95
- # name="huggingface/DReAMy-lib/t5-base-DreamBank-Generation-Emot-Char",
96
- # description=description_G,
97
- # examples=examples_g,
98
- # title="SA Generation",
99
- # )
100
 
101
  interface_model_RE = gr.Interface.load(
102
  name="huggingface/DReAMy-lib/t5-base-DreamBank-Generation-Act-Char",
@@ -113,12 +113,12 @@ interface_model_NER = gr.Interface.load(
113
  title="NER Generation",
114
  )
115
 
116
- # gr.TabbedInterface(
117
- # [interface_words, interface_model_L, interface_model_S, interface_model_G, interface_model_RE, interface_model_NER],
118
- # ["Main", "NER Generation", "SA Large Multilingual", "SA Base En", "SA En Generation", "RE Generation"]
119
- # ).launch()
120
-
121
  gr.TabbedInterface(
122
- [interface_words, interface_model_L, interface_model_S, interface_model_RE, interface_model_NER],
123
- ["Main", "NER Generation", "SA Large Multilingual", "SA Base En", "RE Generation"]
124
  ).launch()
 
 
 
 
 
 
91
  title="SA Base English-Only",
92
  )
93
 
94
+ interface_model_G = gr.Interface.load(
95
+ name="huggingface/DReAMy-lib/t5-base-DreamBank-Generation-Emot-Char",
96
+ description=description_G,
97
+ examples=examples_g,
98
+ title="SA Generation",
99
+ )
100
 
101
  interface_model_RE = gr.Interface.load(
102
  name="huggingface/DReAMy-lib/t5-base-DreamBank-Generation-Act-Char",
 
113
  title="NER Generation",
114
  )
115
 
 
 
 
 
 
116
  gr.TabbedInterface(
117
+ [interface_words, interface_model_NER, interface_model_L, interface_model_S, interface_model_G, interface_model_RE],
118
+ ["Main", "NER Generation", "SA Large Multilingual", "SA Base En", "SA En Generation", "RE Generation"]
119
  ).launch()
120
+
121
+ # gr.TabbedInterface(
122
+ # [interface_words, interface_model_L, interface_model_S, interface_model_RE, interface_model_NER],
123
+ # ["Main", "NER Generation", "SA Large Multilingual", "SA Base En", "RE Generation"]
124
+ # ).launch()