jackycedar commited on
Commit
33d896a
·
1 Parent(s): f7965b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -268,6 +268,19 @@ def storeIndex1(files):
268
  os.rename(files.name, new_path)
269
  return
270
 
 
 
 
 
 
 
 
 
 
 
 
 
 
271
  theme = gr.themes.Default(primary_hue="green")
272
 
273
  with gr.Blocks() as demo:
 
268
  os.rename(files.name, new_path)
269
  return
270
 
271
+ title = """<h1 align="center">GPT-3.5 Chatbot</h1>"""
272
+ if DISABLED:
273
+ title = """<h1 align="center" style="color:red">This app has reached OpenAI's usage limit. We are currently requesting an increase in our quota. Please check back in a few days.</h1>"""
274
+ description = """Language models can be conditioned to act like dialogue agents through a conversational prompt that typically takes the form:
275
+ ```
276
+ User: <utterance>
277
+ Assistant: <utterance>
278
+ User: <utterance>
279
+ Assistant: <utterance>
280
+ ...
281
+ ```
282
+ In this app, you can explore the outputs of a gpt-3.5 LLM.
283
+ """
284
  theme = gr.themes.Default(primary_hue="green")
285
 
286
  with gr.Blocks() as demo: