Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,17 @@
|
|
|
|
1 |
from huggingface_hub import from_pretrained_keras
|
|
|
2 |
|
3 |
-
model = from_pretrained_keras("Dvjc1899/super-resolution")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import tensorflow as tf
|
2 |
from huggingface_hub import from_pretrained_keras
|
3 |
+
import gradio as gr
|
4 |
|
5 |
+
model = from_pretrained_keras("Dvjc1899/super-resolution")
|
6 |
+
|
7 |
+
def infer():
|
8 |
+
return("hello world")
|
9 |
+
|
10 |
+
iface = gr.Interface(
|
11 |
+
fn=infer,
|
12 |
+
title = "Super-resolution",
|
13 |
+
inputs=["text"],
|
14 |
+
outputs=[
|
15 |
+
"textbox",
|
16 |
+
],
|
17 |
+
).launch()
|