Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,8 +39,8 @@ headers = {"Authorization": f"Bearer {H_key}"}
|
|
| 39 |
# pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config, timestep_spacing="trailing")
|
| 40 |
|
| 41 |
#key groq
|
| 42 |
-
os.environ['
|
| 43 |
-
api_key = os.getenv('
|
| 44 |
client = Groq(api_key=api_key)
|
| 45 |
|
| 46 |
def query(payload, max_retries=5):
|
|
|
|
| 39 |
# pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config, timestep_spacing="trailing")
|
| 40 |
|
| 41 |
#key groq
|
| 42 |
+
os.environ['gq']
|
| 43 |
+
api_key = os.getenv('gq')
|
| 44 |
client = Groq(api_key=api_key)
|
| 45 |
|
| 46 |
def query(payload, max_retries=5):
|