Spaces:
Runtime error
Runtime error
import tensorflow as tf | |
from huggingface_hub import from_pretrained_keras | |
import gradio as gr | |
model = from_pretrained_keras("Dvjc1899/super-resolution") | |
def infer(): | |
return("hello world") | |
iface = gr.Interface( | |
fn=infer, | |
title = "Super-resolution", | |
inputs=["text"], | |
outputs=[ | |
"textbox", | |
], | |
).launch() |