Anni123 commited on
Commit
0a67ebb
1 Parent(s): 537b08a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=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
 
 
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