Alex Stoken commited on
Commit
ff0b117
·
1 Parent(s): 83e504d

new bugfix to CSS indentation

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -248,10 +248,9 @@ def format_cldp_and_time(api_name, cldp, times=None):
248
  if __name__ == '__main__':
249
  inputs = [gr.inputs.File(label='Site File with Lat/Lon and GMT Time'), gr.inputs.CheckboxGroup(label='Weather Services',
250
  choices=['OpenWeather', 'MET (Norwegian)', 'WeatherAPI'], default=['OpenWeather', 'MET (Norwegian)'])]
251
- outputs = gr.outputs.Textbox(
252
- label ='Cloud % for hour before, hour of, hour after')
253
- css = """* {font-family: "Lucida Console", "Courier New", monospace !important;/* <-- fonts */
254
  }"""
255
- gr.Interface(fn=file_to_cloud_listing, inputs=inputs, css=css, outputs=outputs,
256
- allow_screenshot=False).launch(auth=("es", 'rs'), share=True)
257
 
 
248
  if __name__ == '__main__':
249
  inputs = [gr.inputs.File(label='Site File with Lat/Lon and GMT Time'), gr.inputs.CheckboxGroup(label='Weather Services',
250
  choices=['OpenWeather', 'MET (Norwegian)', 'WeatherAPI'], default=['OpenWeather', 'MET (Norwegian)'])]
251
+ outputs = gr.outputs.Textbox(label ='Cloud % for hour before, hour of, hour after')
252
+ css = """* {font-family: "Lucida Console", "Courier New", monospace !important;/* <-- fonts */
 
253
  }"""
254
+ gr.Interface(fn=file_to_cloud_listing, inputs=inputs, css=css, outputs=outputs,
255
+ allow_screenshot=False).launch(auth=("es", 'rs'), share=True)
256