Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,10 @@ 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):
|
|
|
5 |
import numpy as np
|
6 |
import gradio as gr
|
7 |
|
8 |
+
project_id = os.getenv('project_id')
|
9 |
+
dataset_id = os.getenv('dataset_id')
|
10 |
+
table_id = os.getenv('table_id')
|
11 |
+
|
12 |
openai_client = OpenAI()
|
13 |
|
14 |
def fetch_table_schema(project_id, dataset_id, table_id):
|