Spaces:
Runtime error
Runtime error
File size: 476 Bytes
2b0e580 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import gradio as gr
"""
Create user interface for OCR demo
"""
# image = gr.Image(shape=(300, 300))
image = gr.Sketchpad()
output = gr.Textbox(label="Output")
demo = gr.Interface(
[image],
output,
title="test test test",
css=".gradio-container {background-color: lightgray} #radio_div {background-color: #FFD8B4; font-size: 40px;}",
article = """<p style='text-align: center;'>
"""
)
# demo.launch(enable_queue = False)
demo.launch() |