Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ app = FastAPI()
|
|
| 6 |
|
| 7 |
BOT_USERNAME = "@DiscussionBot"
|
| 8 |
INFERENCE_URL = "https://api-inference.huggingface.co/models/bigscience/bloom"
|
| 9 |
-
PROMPT = "
|
| 10 |
|
| 11 |
@app.post("/")
|
| 12 |
async def webhook(request: Request):
|
|
|
|
| 6 |
|
| 7 |
BOT_USERNAME = "@DiscussionBot"
|
| 8 |
INFERENCE_URL = "https://api-inference.huggingface.co/models/bigscience/bloom"
|
| 9 |
+
PROMPT = "Pretend you're a robot responding to machine learning discussions and reply to the following comment :\n"
|
| 10 |
|
| 11 |
@app.post("/")
|
| 12 |
async def webhook(request: Request):
|