Update synthetic_generator.py
Browse files- synthetic_generator.py +1 -1
synthetic_generator.py
CHANGED
|
@@ -35,7 +35,7 @@ def train_and_generate_synthetic(real_data, schema, output_path):
|
|
| 35 |
|
| 36 |
def generate_schema(prompt):
|
| 37 |
"""Fetches schema from an external API and validates JSON."""
|
| 38 |
-
API_URL = "https://infinitymatter-
|
| 39 |
headers = {"Authorization": f"Bearer {st.secrets['hf_token']}"}
|
| 40 |
|
| 41 |
try:
|
|
|
|
| 35 |
|
| 36 |
def generate_schema(prompt):
|
| 37 |
"""Fetches schema from an external API and validates JSON."""
|
| 38 |
+
API_URL = "https://infinitymatter-Synthetic_Data_Generator.hf.space"
|
| 39 |
headers = {"Authorization": f"Bearer {st.secrets['hf_token']}"}
|
| 40 |
|
| 41 |
try:
|