derektan commited on
Commit
a194370
·
1 Parent(s): 56bd821

Reordered tabs

Browse files
Files changed (2) hide show
  1. app.py +3 -3
  2. app_multimodal_inference.py +1 -1
app.py CHANGED
@@ -475,7 +475,7 @@ with gr.Blocks(title="Search-TTA (Simplified)", theme=gr.themes.Base()) as demo:
475
  gr.Markdown(
476
  """
477
  # Search-TTA: A Multimodal Test-Time Adaptation Framework for Visual Search in the Wild Demo
478
- Click on any of the <b>examples below</b> and run the <b>TTA demo</b>. Check out the <b>multimodal heatmap generation feature</b> by switching to the next tab above. <br>
479
  Note that the model initialization, RL planner, and TTA updates are not fully optimized on GPU for this huggingface demo, and hence may experience some lag during execution. <br>
480
  If you encounter an 'Error' status, refresh the browser and rerun the demo, or try again the next day. We will improve this in the future. <br>
481
  <a href="https://search-tta.github.io">Project Website</a>
@@ -607,10 +607,10 @@ if __name__ == "__main__":
607
 
608
  with gr.Blocks() as root:
609
  with gr.Tabs() as tabs:
610
- with gr.TabItem("Search-TTA"):
611
- demo.render()
612
  with gr.TabItem("Multimodal Inference"):
613
  multimodal_demo.render()
 
 
614
 
615
  # Hidden textbox purely to satisfy Gradio's need for an output component.
616
  _cleanup_status = gr.Textbox(visible=False)
 
475
  gr.Markdown(
476
  """
477
  # Search-TTA: A Multimodal Test-Time Adaptation Framework for Visual Search in the Wild Demo
478
+ Click on any of the <b>examples below</b> and run the <b>TTA demo</b>. Check out the <b>multimodal heatmap generation feature</b> by switching to the other tab above. <br>
479
  Note that the model initialization, RL planner, and TTA updates are not fully optimized on GPU for this huggingface demo, and hence may experience some lag during execution. <br>
480
  If you encounter an 'Error' status, refresh the browser and rerun the demo, or try again the next day. We will improve this in the future. <br>
481
  <a href="https://search-tta.github.io">Project Website</a>
 
607
 
608
  with gr.Blocks() as root:
609
  with gr.Tabs() as tabs:
 
 
610
  with gr.TabItem("Multimodal Inference"):
611
  multimodal_demo.render()
612
+ with gr.TabItem("Search-TTA"):
613
+ demo.render()
614
 
615
  # Hidden textbox purely to satisfy Gradio's need for an output component.
616
  _cleanup_status = gr.Textbox(visible=False)
app_multimodal_inference.py CHANGED
@@ -184,7 +184,7 @@ with gr.Blocks(title="Search-TTA", theme=gr.themes.Base()) as demo:
184
  gr.Markdown(
185
  """
186
  # Search-TTA: A Multimodal Test-Time Adaptation Framework for Visual Search in the Wild Demo
187
- Click on any of the <b>examples below</b> and run the <b>multimodal inference demo</b>. Check out the <b>test-time adaptation feature</b> by switching to the previous tab above. <br>
188
  If you encounter any errors, refresh the browser and rerun the demo, or try again the next day. We will improve this in the future. <br>
189
  <a href="https://search-tta.github.io">Project Website</a>
190
  """
 
184
  gr.Markdown(
185
  """
186
  # Search-TTA: A Multimodal Test-Time Adaptation Framework for Visual Search in the Wild Demo
187
+ Click on any of the <b>examples below</b> and run the <b>multimodal inference demo</b>. Check out the <b>test-time adaptation feature</b> by switching to the other tab above. <br>
188
  If you encounter any errors, refresh the browser and rerun the demo, or try again the next day. We will improve this in the future. <br>
189
  <a href="https://search-tta.github.io">Project Website</a>
190
  """