Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
@@ -137,6 +137,7 @@ DESCRIPTION = """Tag Dicipher is to convert into understandable form. especially
|
|
137 |
the meaning of despite lack of clearness."""
|
138 |
outputs = [gr.outputs.Textbox(label = "Prediction"),
|
139 |
gr.outputs.Image(type = 'numpy',label = 'Tag Diciphering')]
|
|
|
140 |
demo_app = gr.Interface(
|
141 |
fn= prediction,
|
142 |
inputs=inputs,
|
@@ -144,6 +145,7 @@ demo_app = gr.Interface(
|
|
144 |
title = "Tag Diciphering",
|
145 |
description = DESCRIPTION,
|
146 |
examples = EXAMPLES,
|
|
|
147 |
#cache_example = True,
|
148 |
#live = True,
|
149 |
theme = 'huggingface'
|
|
|
137 |
the meaning of despite lack of clearness."""
|
138 |
outputs = [gr.outputs.Textbox(label = "Prediction"),
|
139 |
gr.outputs.Image(type = 'numpy',label = 'Tag Diciphering')]
|
140 |
+
article = "<p style='text-align: center'><a href='https://huggingface.co/docs/transformers/main/model_doc/blip' target='_blank'>BLIP docs</a> | <a href='https://huggingface.co/docs/transformers/main/model_doc/git' target='_blank'>GIT docs</a></p>"
|
141 |
demo_app = gr.Interface(
|
142 |
fn= prediction,
|
143 |
inputs=inputs,
|
|
|
145 |
title = "Tag Diciphering",
|
146 |
description = DESCRIPTION,
|
147 |
examples = EXAMPLES,
|
148 |
+
article = article,
|
149 |
#cache_example = True,
|
150 |
#live = True,
|
151 |
theme = 'huggingface'
|