Spaces:
Paused
Paused
Commit
•
db2e47b
1
Parent(s):
5fffe86
bug fixing
Browse files
app.py
CHANGED
@@ -86,8 +86,7 @@ def search_text(query, top_k):
|
|
86 |
|
87 |
iface = gr.Interface(
|
88 |
title="Text to Image using CLIP Model 📸",
|
89 |
-
description="Gradio Demo for CLIP model. \n
|
90 |
-
article="You can find more information about this demo on my ✨ github repository [marcelcastrobr](https://github.com/marcelcastrobr/huggingface_course2)",
|
91 |
fn=search_text,
|
92 |
inputs=[
|
93 |
gr.Textbox(
|
@@ -106,8 +105,8 @@ iface = gr.Interface(
|
|
106 |
[("Dog in the beach"), 5],
|
107 |
[("Paris during night."), 10],
|
108 |
[("A cute kangaroo"), 5],
|
109 |
-
[("
|
110 |
-
[("
|
111 |
-
[("
|
112 |
],
|
113 |
).launch()
|
|
|
86 |
|
87 |
iface = gr.Interface(
|
88 |
title="Text to Image using CLIP Model 📸",
|
89 |
+
description="Gradio Demo for CLIP model. \n To use it, simply write which image you are looking for",
|
|
|
90 |
fn=search_text,
|
91 |
inputs=[
|
92 |
gr.Textbox(
|
|
|
105 |
[("Dog in the beach"), 5],
|
106 |
[("Paris during night."), 10],
|
107 |
[("A cute kangaroo"), 5],
|
108 |
+
[("Picnic Spots"), 10],
|
109 |
+
[("Desert"), 5],
|
110 |
+
[("A racetrack"), 15],
|
111 |
],
|
112 |
).launch()
|