Spaces:
Sleeping
Sleeping
Update text2generation.py
Browse files- text2generation.py +1 -2
text2generation.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import os
|
| 2 |
import httpx
|
| 3 |
-
|
| 4 |
|
| 5 |
def generate_long_answer(question):
|
| 6 |
"""Generate detailed answers using OpenRouter's DeepSeek API"""
|
|
@@ -29,4 +29,3 @@ def generate_long_answer(question):
|
|
| 29 |
|
| 30 |
except Exception as e:
|
| 31 |
return f"Error generating answer: {str(e)}"
|
| 32 |
-
text=generate_long_answer(app.question)
|
|
|
|
| 1 |
import os
|
| 2 |
import httpx
|
| 3 |
+
|
| 4 |
|
| 5 |
def generate_long_answer(question):
|
| 6 |
"""Generate detailed answers using OpenRouter's DeepSeek API"""
|
|
|
|
| 29 |
|
| 30 |
except Exception as e:
|
| 31 |
return f"Error generating answer: {str(e)}"
|
|
|