Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,14 +1,13 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
|
| 3 |
-
"""
|
| 4 |
-
description = """<p>Gradio demo for Track Anything, a flexible and interactive tool for video object tracking, segmentation, and inpainting. To use it, simply upload your video, or click one of the examples to load them. Code: <a href="https://github.com/gaomingqi/Track-Anything">Track-Anything</a> <a href="https://huggingface.co/spaces/VIPLab/Track-Anything?duplicate=true"><img style="display: inline; margin-top: 0em; margin-bottom: 0em" src="https://bit.ly/3gLdBN6" alt="Duplicate Space" /></a> If you stuck in unknown errors, please feel free to watch the Tutorial video.</p>"""
|
| 5 |
def say_hello():
|
| 6 |
-
|
| 7 |
|
| 8 |
-
iface = gr.Interface(fn=say_hello,
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
|
|
|
| 12 |
|
| 13 |
iface.launch()
|
| 14 |
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
|
|
|
|
|
|
|
| 3 |
def say_hello():
|
| 4 |
+
return "Hello World!"
|
| 5 |
|
| 6 |
+
iface = gr.Interface(fn=say_hello,
|
| 7 |
+
inputs=None,
|
| 8 |
+
outputs="text",
|
| 9 |
+
title="Zerogpt.cc",
|
| 10 |
+
description="<a href='https://zerogpt.cc'>https://zerogpt.cc</a>")
|
| 11 |
|
| 12 |
iface.launch()
|
| 13 |
|