Raffael-Kultyshev commited on
Commit
1a4275a
·
1 Parent(s): b9af90c

Fix html import

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,6 +5,7 @@ Egocentric hand tracking dataset visualizer for robot training data
5
 
6
  import gradio as gr
7
  import json
 
8
  import numpy as np
9
  from pathlib import Path
10
  import plotly.graph_objects as go
@@ -301,7 +302,6 @@ theme = gr.themes.Soft(
301
  )
302
 
303
  def format_instruction_html(text: str) -> str:
304
- import html
305
  safe_text = html.escape(text)
306
  return (
307
  '<div class="instruction-card">'
 
5
 
6
  import gradio as gr
7
  import json
8
+ import html
9
  import numpy as np
10
  from pathlib import Path
11
  import plotly.graph_objects as go
 
302
  )
303
 
304
  def format_instruction_html(text: str) -> str:
 
305
  safe_text = html.escape(text)
306
  return (
307
  '<div class="instruction-card">'