Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
10 |
|
11 |
# Initialize the Groq client with the API key
|
12 |
-
client = Groq(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:
|