Groundlight commited on
Commit
06cf761
·
1 Parent(s): 2d40a27

typo resolved

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -280,7 +280,7 @@ with gr.Blocks() as demo:
280
  # Load resources when the app starts
281
  load_resources()
282
 
283
- gr.Markdown("# Groundlight's VLM Reasoning Model - Cryptogram Decoder")
284
  current_mapping = gr.State()
285
  current_image = gr.State()
286
 
@@ -289,7 +289,7 @@ with gr.Blocks() as demo:
289
  with gr.Column(scale=1):
290
  # Instructions at the top
291
  instructions = """
292
- Welcome! This demos Groundlight's VLM reasoning model trained to decode cryptograms. To use the model:
293
  1. Generate a decoder image. This will be provided to the model to decode your message.
294
  2. Enter your message in the text box below. Your message should only contain English letters and spaces.
295
 
@@ -395,4 +395,8 @@ with gr.Blocks() as demo:
395
  )
396
 
397
  if __name__ == "__main__":
398
- demo.launch()
 
 
 
 
 
280
  # Load resources when the app starts
281
  load_resources()
282
 
283
+ gr.Markdown("# Groundlight's Visual Reasoning Model - Cryptogram Decoder")
284
  current_mapping = gr.State()
285
  current_image = gr.State()
286
 
 
289
  with gr.Column(scale=1):
290
  # Instructions at the top
291
  instructions = """
292
+ Welcome! This demos Groundlight's visual reasoning model trained to decode cryptograms. To use the model:
293
  1. Generate a decoder image. This will be provided to the model to decode your message.
294
  2. Enter your message in the text box below. Your message should only contain English letters and spaces.
295
 
 
395
  )
396
 
397
  if __name__ == "__main__":
398
+ # for local testing
399
+ # demo.launch(server_name="0.0.0.0", server_port=7860, share=True)
400
+
401
+ # updates HF
402
+ demo.launch()