Arigadam commited on
Commit
ed96843
1 Parent(s): c18aa4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -40,7 +40,11 @@ def respond(
40
  """
41
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
42
  """
43
- demo = gr.ChatInterface(
 
 
 
 
44
  #title="Painter",
45
  #description="""⚠️WARNING⚠️: The picture will not be displayed immediately. It will be displayed when generated. DO NOT TELL ME THAT THERE IS NO PICTURE!!! Thank you for your attention.""",
46
  respond,
@@ -55,7 +59,8 @@ demo = gr.ChatInterface(
55
  label="Top-p (nucleus sampling)",
56
  ),
57
  ],
58
- )
 
59
 
60
 
61
  if __name__ == "__main__":
 
40
  """
41
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
42
  """
43
+
44
+ with gr.Blocks() as demo:
45
+ gr.Markdown("# Painter")
46
+ gr.Markdown("⚠️WARNING⚠️: The picture will not be displayed immediately. It will be displayed when generated. DO NOT TELL ME THAT THERE IS NO PICTURE!!! Thank you for your attention.")
47
+ gr.ChatInterface(
48
  #title="Painter",
49
  #description="""⚠️WARNING⚠️: The picture will not be displayed immediately. It will be displayed when generated. DO NOT TELL ME THAT THERE IS NO PICTURE!!! Thank you for your attention.""",
50
  respond,
 
59
  label="Top-p (nucleus sampling)",
60
  ),
61
  ],
62
+ )
63
+ gr.HTML("<small>Made by Arigadam</small>")
64
 
65
 
66
  if __name__ == "__main__":