Spaces:
Runtime error
Runtime error
File size: 1,035 Bytes
26f8ecf 59907f0 5360188 59907f0 5360188 bc5a08a 5360188 bc5a08a 5360188 bc5a08a 5360188 bc5a08a 5360188 bc5a08a 5360188 bc5a08a 5360188 bc5a08a 5360188 bc5a08a 5360188 bc5a08a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
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
|