Update app.py
Browse files
app.py
CHANGED
|
@@ -20,8 +20,6 @@ For more information on `huggingface_hub` Inference API support, please check th
|
|
| 20 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 21 |
|
| 22 |
def respond(message, history, system_message, max_tokens, temperature, top_p):
|
| 23 |
-
import requests
|
| 24 |
-
from pdf.loader import PyPDFLoader
|
| 25 |
|
| 26 |
URL = "https://www.esmo.org/content/download/6594/114963/1/ES-Cancer-de-Mama-Guia-para-Pacientes.pdf"
|
| 27 |
response = requests.get(URL)
|
|
|
|
| 20 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
| 21 |
|
| 22 |
def respond(message, history, system_message, max_tokens, temperature, top_p):
|
|
|
|
|
|
|
| 23 |
|
| 24 |
URL = "https://www.esmo.org/content/download/6594/114963/1/ES-Cancer-de-Mama-Guia-para-Pacientes.pdf"
|
| 25 |
response = requests.get(URL)
|