Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -76,10 +76,12 @@ async def visualize(
|
|
76 |
|
77 |
|
78 |
return StreamingResponse(img_stream, media_type="image/png")'''
|
79 |
-
|
80 |
|
81 |
-
|
|
|
|
|
|
|
82 |
|
83 |
-
|
84 |
-
|
85 |
-
return {"Hello": "World!"}
|
|
|
76 |
|
77 |
|
78 |
return StreamingResponse(img_stream, media_type="image/png")'''
|
79 |
+
import gradio as gr
|
80 |
|
81 |
+
def hello(name):
|
82 |
+
return f"Hello, {name}!"
|
83 |
+
|
84 |
+
app = gr.Interface(fn=hello, inputs="text", outputs="text")
|
85 |
|
86 |
+
if __name__ == "__main__":
|
87 |
+
app.launch()
|
|