Spaces:
Sleeping
Sleeping
Update api.py
Browse files
api.py
CHANGED
|
@@ -107,7 +107,7 @@ index.add(np.vstack(embeddings).astype("float32"))
|
|
| 107 |
# --- API Input Model ---
|
| 108 |
class QuestionInput(BaseModel):
|
| 109 |
question: str
|
| 110 |
-
image: str = None # Optional image input, unused here
|
| 111 |
|
| 112 |
# --- AIPIPE API Configuration ---
|
| 113 |
AIPIPE_URL = "https://aipipe.org/openrouter/v1/chat/completions"
|
|
|
|
| 107 |
# --- API Input Model ---
|
| 108 |
class QuestionInput(BaseModel):
|
| 109 |
question: str
|
| 110 |
+
#image: str = None # Optional image input, unused here
|
| 111 |
|
| 112 |
# --- AIPIPE API Configuration ---
|
| 113 |
AIPIPE_URL = "https://aipipe.org/openrouter/v1/chat/completions"
|