Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ def extract_medicines(image, api_key):
|
|
| 61 |
return f"An error occurred: {str(e)}"
|
| 62 |
|
| 63 |
# Create the Gradio interface
|
| 64 |
-
with gr.Blocks(title="Prescription Medicine Extractor") as app:
|
| 65 |
gr.Markdown("# Medicine Name Extractor from Prescriptions")
|
| 66 |
gr.Markdown("Upload a prescription image and enter your Groq API key to extract medicine names")
|
| 67 |
|
|
|
|
| 61 |
return f"An error occurred: {str(e)}"
|
| 62 |
|
| 63 |
# Create the Gradio interface
|
| 64 |
+
with gr.Blocks(title="Prescription Medicine Extractor", theme=gr.themes.Ocean()) as app:
|
| 65 |
gr.Markdown("# Medicine Name Extractor from Prescriptions")
|
| 66 |
gr.Markdown("Upload a prescription image and enter your Groq API key to extract medicine names")
|
| 67 |
|