Xhaheen commited on
Commit
220ab91
1 Parent(s): 2e7de49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -53,10 +53,10 @@ output = gr.outputs.Textbox(type="auto",label="Meme")
53
  #examples = [f"example{i}.jpg" for i in range(1,7)]
54
  #examples = os.listdir()
55
 
56
- examples=os.listdir()
57
- for fichier in examples:
58
- if not(fichier.endswith(".png")):
59
- examples.remove(fichier)
60
 
61
  description= "meme generation using advanced NLP Built by [Xaheen](https://www.linkedin.com/in/sallu-mandya/)"
62
  title = "Meme world 🖼️"
@@ -70,7 +70,7 @@ interface = gr.Interface(
70
 
71
  theme="grass",
72
  outputs=output,
73
- examples = examples,
74
  title=title,
75
  description=description,
76
  article = article,
 
53
  #examples = [f"example{i}.jpg" for i in range(1,7)]
54
  #examples = os.listdir()
55
 
56
+ #examples=os.listdir()
57
+ #for fichier in examples:
58
+ # if not(fichier.endswith(".png")):
59
+ # examples.remove(fichier)
60
 
61
  description= "meme generation using advanced NLP Built by [Xaheen](https://www.linkedin.com/in/sallu-mandya/)"
62
  title = "Meme world 🖼️"
 
70
 
71
  theme="grass",
72
  outputs=output,
73
+ # examples = examples,#
74
  title=title,
75
  description=description,
76
  article = article,