TharunSivamani commited on
Commit
db2e47b
1 Parent(s): 5fffe86

bug fixing

Browse files
Files changed (1) hide show
  1. app.py +4 -5
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 This demo is based on assessment for the 🤗 Huggingface course 2. \n To use it, simply write which image you are looking for. Read more at the links below.",
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
- [("Dois cachorros"), 10],
110
- [("un homme marchant sur le parc"), 5],
111
- [("et høyt fjell"), 15],
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()