Update app.py
Browse files
app.py
CHANGED
|
@@ -196,7 +196,7 @@ def self_construction(datatype):
|
|
| 196 |
demo_path = './demos/last_letters'
|
| 197 |
else:
|
| 198 |
return gr.update(value="## 🔭 Self construction..."), gr.update(visible=False), \
|
| 199 |
-
gr.update(visible=
|
| 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 |
|
|
|
|
| 196 |
demo_path = './demos/last_letters'
|
| 197 |
else:
|
| 198 |
return gr.update(value="## 🔭 Self construction..."), gr.update(visible=False), \
|
| 199 |
+
gr.update(visible=True, value="UNDEFINED Scenario! We just employ the zero-shot setting."), gr.update(value=""), \
|
| 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 |
|