Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,9 +24,13 @@ def query(payload):
|
|
| 24 |
response = requests.post(API_URL, headers=headers, json=payload)
|
| 25 |
return response.json()
|
| 26 |
|
| 27 |
-
# Topics for posts
|
| 28 |
-
topics = [
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
# Function to generate a high-quality post using LLM
|
| 31 |
def generate_post(topic=None):
|
| 32 |
if topic is None or topic == "Random":
|
|
|
|
| 24 |
response = requests.post(API_URL, headers=headers, json=payload)
|
| 25 |
return response.json()
|
| 26 |
|
| 27 |
+
# Topics for posts
|
| 28 |
+
topics = [
|
| 29 |
+
"GeoAI as a field and it's application",
|
| 30 |
+
"application of Geology with Tech for exploration",
|
| 31 |
+
"application of AI in geological exploration",
|
| 32 |
+
"Entrepreneurship"
|
| 33 |
+
]
|
| 34 |
# Function to generate a high-quality post using LLM
|
| 35 |
def generate_post(topic=None):
|
| 36 |
if topic is None or topic == "Random":
|