Docfile commited on
Commit
2a07aa7
·
verified ·
1 Parent(s): 9d910be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -77,7 +77,12 @@ markdown = r"""
77
  {e}
78
  """.format(e=e)
79
 
80
-
 
 
 
 
 
81
 
82
  app1 = gr.Interface(
83
  fn=gpt_francais,
@@ -91,7 +96,7 @@ app2 = gr.Interface(
91
  title="Mariam-Commentaire",
92
  description="Ah..banana banana...",
93
  inputs= gr.Image(type='pil'),
94
- outputs=gr.Markdown(markdown,show_copy_button=True, latex_delimiters=[{ "left":"$$", "right":"$$", "display": True }]))
95
 
96
 
97
 
 
77
  {e}
78
  """.format(e=e)
79
 
80
+
81
+ css = """
82
+ .generating {
83
+ display: none
84
+ }
85
+ """
86
 
87
  app1 = gr.Interface(
88
  fn=gpt_francais,
 
96
  title="Mariam-Commentaire",
97
  description="Ah..banana banana...",
98
  inputs= gr.Image(type='pil'),
99
+ outputs=gr.Markdown(markdown,show_copy_button=True, latex_delimiters=[{ "left":"$$", "right":"$$", "display": True }])allow_flagging="never",css=css)
100
 
101
 
102