Spaces:
Sleeping
Sleeping
William Mattingly
commited on
Commit
·
5231c0d
1
Parent(s):
d1f8990
removed logo
Browse files
app.py
CHANGED
@@ -179,7 +179,7 @@ with gr.Blocks(css=css) as demo:
|
|
179 |
# Add state variables to store OCR results
|
180 |
ocr_state = gr.State()
|
181 |
|
182 |
-
gr.Image("Caracal.jpg", interactive=False)
|
183 |
with gr.Tab(label="Image Input", elem_classes="tabs"):
|
184 |
with gr.Row():
|
185 |
with gr.Column(elem_classes="input-container"):
|
|
|
179 |
# Add state variables to store OCR results
|
180 |
ocr_state = gr.State()
|
181 |
|
182 |
+
# gr.Image("Caracal.jpg", interactive=False)
|
183 |
with gr.Tab(label="Image Input", elem_classes="tabs"):
|
184 |
with gr.Row():
|
185 |
with gr.Column(elem_classes="input-container"):
|
call.py
CHANGED
@@ -15,7 +15,7 @@ dotenv.load_dotenv()
|
|
15 |
hf_token = os.getenv("HF_TOKEN")
|
16 |
|
17 |
# Create client for the Hugging Face Space with authentication
|
18 |
-
client = Client("wjbmattingly/caracal", hf_token=hf_token)
|
19 |
|
20 |
# Example usage
|
21 |
if __name__ == "__main__":
|
|
|
15 |
hf_token = os.getenv("HF_TOKEN")
|
16 |
|
17 |
# Create client for the Hugging Face Space with authentication
|
18 |
+
client = Client("wjbmattingly/caracal-api", hf_token=hf_token)
|
19 |
|
20 |
# Example usage
|
21 |
if __name__ == "__main__":
|