Update app.py
Browse files
app.py
CHANGED
@@ -18,8 +18,7 @@ def extract_info(sentence):
|
|
18 |
- Quantity (exact number, "some", "all", or null if unspecified)
|
19 |
- Location (null if not mentioned)
|
20 |
Sentence: "{sentence}"
|
21 |
-
Provide the response in structured JSON format.
|
22 |
-
"""
|
23 |
|
24 |
response = requests.post(
|
25 |
f"https://api-inference.huggingface.co/models/{MODEL_NAME}",
|
|
|
18 |
- Quantity (exact number, "some", "all", or null if unspecified)
|
19 |
- Location (null if not mentioned)
|
20 |
Sentence: "{sentence}"
|
21 |
+
Provide the response in structured JSON format."""
|
|
|
22 |
|
23 |
response = requests.post(
|
24 |
f"https://api-inference.huggingface.co/models/{MODEL_NAME}",
|