vedsadani commited on
Commit
eea36e7
1 Parent(s): 02cc1c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -10
app.py CHANGED
@@ -1,20 +1,10 @@
1
  import pandas as pd
2
  from openai import OpenAI
3
  import os
4
- from google.colab import userdata
5
  from google.cloud import bigquery
6
  import numpy as np
7
  import gradio as gr
8
 
9
- from sql_queries import sql_queries
10
-
11
- os.environ['OPENAI_API_KEY'] = userdata.get('open_ai_fieldops')
12
- os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = '/content/aakash-project-422813-1230ad3ba9f1.json'
13
-
14
- project_id = 'aakash-project-422813'
15
- dataset_id = 'ved_test'
16
- table_id = 'synthetic_data'
17
-
18
  openai_client = OpenAI()
19
 
20
  def fetch_table_schema(project_id, dataset_id, table_id):
 
1
  import pandas as pd
2
  from openai import OpenAI
3
  import os
 
4
  from google.cloud import bigquery
5
  import numpy as np
6
  import gradio as gr
7
 
 
 
 
 
 
 
 
 
 
8
  openai_client = OpenAI()
9
 
10
  def fetch_table_schema(project_id, dataset_id, table_id):