abdullahmeda commited on
Commit
771ac2b
1 Parent(s): 2093c47

minor fixes

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -51,12 +51,20 @@ def init_buffer_memory():
51
  return memory
52
 
53
 
54
- with gr.Blocks(css="#component-0 { max-width: 900px; margin: auto; padding-top: 1.5rem; }") as demo:
 
 
 
55
  gr.Markdown(
56
  """
57
  ![](https://huggingface.co/spaces/abdullahmeda/OpenChat/resolve/main/banner.png)
 
 
 
 
58
  """
59
  )
 
60
 
61
  with gr.Group():
62
  with gr.Row(visible=True) as primary_settings:
 
51
  return memory
52
 
53
 
54
+ with gr.Blocks(css="""
55
+ #component-0 { max-width: 900px; margin: auto; padding-top: 1.5rem; }
56
+ #duplicate-button { margin: auto; color: white; background: #1565c0; border-radius: 100vh; }
57
+ """) as demo:
58
  gr.Markdown(
59
  """
60
  ![](https://huggingface.co/spaces/abdullahmeda/OpenChat/resolve/main/banner.png)
61
+
62
+ This Huggingface Gradio Space provides you access to all OpenAI API model that are readily available to the public with custom System Messages. Please note that you would be needing an OPENAI API key to successfully use this space.
63
+
64
+ Feel free to play with it, or duplicate the Space and run securely with your OpenAI API Key
65
  """
66
  )
67
+ gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
68
 
69
  with gr.Group():
70
  with gr.Row(visible=True) as primary_settings: