Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,6 @@ with open('Context.txt', 'r') as file:
|
|
| 9 |
question = "What should be documented in a care plan?"
|
| 10 |
|
| 11 |
API_KEY = os.environ.get("HF_TOKEN")
|
| 12 |
-
headers = {"Authorization": f"Bearer {API_KEY}"}
|
| 13 |
-
|
| 14 |
gr.Interface.load(
|
| 15 |
"huggingface/deepset/roberta-base-squad2",
|
| 16 |
api_key=API_KEY,
|
|
|
|
| 9 |
question = "What should be documented in a care plan?"
|
| 10 |
|
| 11 |
API_KEY = os.environ.get("HF_TOKEN")
|
|
|
|
|
|
|
| 12 |
gr.Interface.load(
|
| 13 |
"huggingface/deepset/roberta-base-squad2",
|
| 14 |
api_key=API_KEY,
|