Abdullah-Basar commited on
Commit
59a8a6b
·
verified ·
1 Parent(s): b9d376b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,10 +6,10 @@ from torchvision import transforms
6
  import gradio as gr
7
 
8
  # Replace 'your_api_key_here' with your actual Groq API key
9
- api_key = "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"
10
 
11
  # Initialize the Groq client with the API key
12
- client = Groq(api_key=api_key)
13
 
14
  # Placeholder for flood prediction model (open-source PyTorch model)
15
  class FloodPredictionModel:
 
6
  import gradio as gr
7
 
8
  # Replace 'your_api_key_here' with your actual Groq API key
9
+ GROQ_API_KEY = "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"
10
 
11
  # Initialize the Groq client with the API key
12
+ client = Groq(api_key=GROQ_API_KEY)
13
 
14
  # Placeholder for flood prediction model (open-source PyTorch model)
15
  class FloodPredictionModel: