msiron commited on
Commit
5b4c478
·
1 Parent(s): bd292ac
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -140,12 +140,8 @@ warning_message += " scheme will be standardized in a soon to be released update
140
  warning_message += " now please take caution when analyzing the results of this"
141
  warning_message += " application."
142
 
143
- with gr.Blocks() as banner:
144
- message = gr.HTML(
145
- '<div class="alert"><span class="closebtn" onclick="this.parentElement.style.display="none";">&times;</span>{}</div>Generate a phase diagram for a set of elements using LeMat-Bulk data.'.format(
146
- warning_message
147
- )
148
- )
149
 
150
  # Create Gradio interface
151
  iface = gr.Interface(
 
140
  warning_message += " now please take caution when analyzing the results of this"
141
  warning_message += " application."
142
 
143
+
144
+ message = '<div class="alert"><span class="closebtn" onclick="this.parentElement.style.display="none";">&times;</span>{}</div>Generate a phase diagram for a set of elements using LeMat-Bulk data.'.format(warning_message)
 
 
 
 
145
 
146
  # Create Gradio interface
147
  iface = gr.Interface(