ZainMalik0925 commited on
Commit
043429c
·
verified ·
1 Parent(s): af0bc78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -3,10 +3,8 @@ import streamlit as st
3
  from io import BytesIO
4
  from groq import Groq
5
 
6
- # Set up the Groq client
7
-
8
- GROQ_API_KEY="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"
9
- client = (api_key=GROQ_API_KEY)
10
 
11
  # Function to request pattern generation from Groq API
12
  def get_pattern_from_groq(body_measurements, garment_type):
 
3
  from io import BytesIO
4
  from groq import Groq
5
 
6
+ # Set up the Groq client with your API key directly
7
+ client = Groq(api_key="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")
 
 
8
 
9
  # Function to request pattern generation from Groq API
10
  def get_pattern_from_groq(body_measurements, garment_type):