Spaces:
Runtime error
Runtime error
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() |