Update app.py
Browse files
app.py
CHANGED
@@ -195,7 +195,10 @@ def self_construction(datatype):
|
|
195 |
fig_adr = './figs/last_letters.png'
|
196 |
demo_path = './demos/last_letters'
|
197 |
else:
|
198 |
-
|
|
|
|
|
|
|
199 |
|
200 |
##read corresponding demo
|
201 |
x, z, y =[], [], []
|
|
|
195 |
fig_adr = './figs/last_letters.png'
|
196 |
demo_path = './demos/last_letters'
|
197 |
else:
|
198 |
+
return gr.update(value="## 🔭 Self construction..."), gr.update(visible=False), \
|
199 |
+
gr.update(visible=False), gr.update(value="UNDEFINED Scenario!\n We just employ the zero-shot setting."), \
|
200 |
+
gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False)
|
201 |
+
#pass ##todo: datatype == 'UNDEFINED'
|
202 |
|
203 |
##read corresponding demo
|
204 |
x, z, y =[], [], []
|