abdibrokhim commited on
Commit
122ac3d
·
1 Parent(s): 7c3a12f

added header

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -139,12 +139,22 @@ css = """
139
  #chatbot {
140
  height: 100%;
141
  }
 
 
 
 
142
  """
143
 
 
144
 
145
  # defautl query: how to make slingshot?
146
  # who created light (e.g., electricity) Tesla or Edison in quick short?
147
  with gr.Blocks(css=css, fill_height=True) as demo:
 
 
 
 
 
148
  # State variables to hold followup ID and conversation history, plus follow-up questions text
149
  followup_state = gr.State(None)
150
  chat_history_state = gr.State([]) # holds conversation history as a list of messages
 
139
  #chatbot {
140
  height: 100%;
141
  }
142
+ h1, h2, h3, h4, h5, h6 {
143
+ text-align: center;
144
+ display: block;
145
+ }
146
  """
147
 
148
+ # like chatgpt, but with less features. built by @theo and @r_marked
149
 
150
  # defautl query: how to make slingshot?
151
  # who created light (e.g., electricity) Tesla or Edison in quick short?
152
  with gr.Blocks(css=css, fill_height=True) as demo:
153
+ gr.Markdown("""
154
+ ## like perplexity, but with less features.
155
+ #### built by [@abdibrokhim](https://yaps.gg).
156
+ """)
157
+
158
  # State variables to hold followup ID and conversation history, plus follow-up questions text
159
  followup_state = gr.State(None)
160
  chat_history_state = gr.State([]) # holds conversation history as a list of messages