Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,10 @@ from gradio_client import Client
|
|
17 |
|
18 |
#client = Client("https://9bc24cb52607aad436.gradio.live/")
|
19 |
|
|
|
|
|
20 |
client = InferenceClient(
|
21 |
-
"
|
22 |
)
|
23 |
|
24 |
def ocrtotext(filename):
|
|
|
17 |
|
18 |
#client = Client("https://9bc24cb52607aad436.gradio.live/")
|
19 |
|
20 |
+
API_URL = "https://api-inference.huggingface.co/models/"
|
21 |
+
|
22 |
client = InferenceClient(
|
23 |
+
"mistralai/Mistral-7B-Instruct-v0.1"
|
24 |
)
|
25 |
|
26 |
def ocrtotext(filename):
|