Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -254,6 +254,14 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
254 |
gr.Markdown("⤷ [docscopeOCR-7B-050425-exp](https://huggingface.co/prithivMLmods/docscopeOCR-7B-050425-exp): optimized for document-level optical character recognition, long-context vision-language understanding.")
|
255 |
gr.Markdown("⤷ [Captioner-Relaxed-7B](https://huggingface.co/Ertugrul/Qwen2.5-VL-7B-Captioner-Relaxed): build with hand-curated dataset for text-to-image models, providing significantly more detailed descriptions or captions of given images.")
|
256 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
image_submit.click(
|
258 |
fn=generate_image,
|
259 |
inputs=[model_choice, image_query, image_upload, max_new_tokens, temperature, top_p, top_k, repetition_penalty],
|
|
|
254 |
gr.Markdown("⤷ [docscopeOCR-7B-050425-exp](https://huggingface.co/prithivMLmods/docscopeOCR-7B-050425-exp): optimized for document-level optical character recognition, long-context vision-language understanding.")
|
255 |
gr.Markdown("⤷ [Captioner-Relaxed-7B](https://huggingface.co/Ertugrul/Qwen2.5-VL-7B-Captioner-Relaxed): build with hand-curated dataset for text-to-image models, providing significantly more detailed descriptions or captions of given images.")
|
256 |
|
257 |
+
gr.Markdown(```{
|
258 |
+
"mcpServers": {
|
259 |
+
"gradio": {
|
260 |
+
"url": "https://prithivmlmods-docscope-r1.hf.space/gradio_api/mcp/sse"
|
261 |
+
}
|
262 |
+
}
|
263 |
+
}``` )
|
264 |
+
|
265 |
image_submit.click(
|
266 |
fn=generate_image,
|
267 |
inputs=[model_choice, image_query, image_upload, max_new_tokens, temperature, top_p, top_k, repetition_penalty],
|