LeonceNsh commited on
Commit
ba8fbda
·
verified ·
1 Parent(s): 9bca965

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,7 +17,7 @@ if not openai.api_key:
17
  raise ValueError("Please set the OPENAI_API_KEY environment variable.")
18
 
19
  load_dotenv()
20
- sbx = Sandbox() # By default, the sandbox is alive for 5 minutes
21
 
22
  # Path to your Parquet dataset
23
  DATASET_PATH = 'hsas.parquet' # Update with your Parquet file path
@@ -216,7 +216,7 @@ with gr.Blocks(css="""
216
 
217
  # Connect JavaScript function to button
218
  btn_copy_results.click(
219
- None, None, None, _js="copyToClipboard"
220
  )
221
 
222
  with gr.Tab("📋 Dataset Schema", elem_classes="schema-tab"):
 
17
  raise ValueError("Please set the OPENAI_API_KEY environment variable.")
18
 
19
  load_dotenv()
20
+ sbx = Sandbox() # By default, the sandbox is alive for 5 minutes
21
 
22
  # Path to your Parquet dataset
23
  DATASET_PATH = 'hsas.parquet' # Update with your Parquet file path
 
216
 
217
  # Connect JavaScript function to button
218
  btn_copy_results.click(
219
+ None, None, None, js="copyToClipboard"
220
  )
221
 
222
  with gr.Tab("📋 Dataset Schema", elem_classes="schema-tab"):