Spaces:
Runtime error
Runtime error
import gradio as gr | |
def greet(name): | |
return "Hello " + name + "!!" | |
iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
iface.launch() | |
import os | |
from os.repository import rmdb | |
from rmdb.lib import rmdb.image | |
import image | |
# create the Image object for printing and reading | |
# create the images from a different image with a different text style and color | |
image.save() | |
# print the images to the screen (or if the image starts writing) | |
# display the raw pixel colors | |
# clear the screen at the beginning of the print | |
print " | |
" , image.getImage( " ai " ) | |
# add the images to the screen as shown when saving | |
print " | |
" , image.addImage( " ai " ) | |
# clear the screen at the end of the print | |
print " | |
" , image.addImage( " ai " ) | |
# convert the image to a readable binary | |
print " | |
" , image.toString() | |
import image2 | |
import rmdb2 | |
from rmdb2.rmdb2 import ImageObject | |
from rmdb2.lib import ImageObject | |
import image | |
import os | |
from rmdb2.lib import rmdb2.application.imageObject | |
import image2 | |
from rmdb2 | |