Spaces:
Sleeping
Sleeping
Update text2generation.py
Browse files- text2generation.py +1 -1
text2generation.py
CHANGED
|
@@ -5,7 +5,7 @@ from dotenv import load_dotenv
|
|
| 5 |
|
| 6 |
load_dotenv()
|
| 7 |
|
| 8 |
-
async def
|
| 9 |
async with httpx.AsyncClient(timeout=10.0) as client:
|
| 10 |
response = await client.post(
|
| 11 |
"https://openrouter.ai/api/v1/chat/completions",
|
|
|
|
| 5 |
|
| 6 |
load_dotenv()
|
| 7 |
|
| 8 |
+
async def generate_long_answer(question):
|
| 9 |
async with httpx.AsyncClient(timeout=10.0) as client:
|
| 10 |
response = await client.post(
|
| 11 |
"https://openrouter.ai/api/v1/chat/completions",
|