Abbas0786 commited on
Commit
3dc49ff
·
verified ·
1 Parent(s): d9e2880

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -3,12 +3,10 @@ import streamlit as st
3
  from groq import Groq
4
 
5
  # Set your API key (replace 'your_groq_api_key_here' with the actual API key)
6
- GROQ_API_KEY = "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"
7
 
8
  # Initialize the Groq client
9
- client = Groq(
10
- api_key="GROQ_API_KEY"
11
- )
12
 
13
  # Function to handle predictions
14
  def predict_yield(climate_zone=None, region=None, yield_units=None, farm_size=None, fertilizer_rate=None,
 
3
  from groq import Groq
4
 
5
  # Set your API key (replace 'your_groq_api_key_here' with the actual API key)
6
+ GROQ_API_KEY = "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"
7
 
8
  # Initialize the Groq client
9
+ client = Groq(api_key=GROQ_API_KEY)
 
 
10
 
11
  # Function to handle predictions
12
  def predict_yield(climate_zone=None, region=None, yield_units=None, farm_size=None, fertilizer_rate=None,