Shad0ws commited on
Commit
2d3379f
·
1 Parent(s): da91d7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ openai.api_key = "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"
11
  start_sequence = "\nAI:"
12
  restart_sequence = "\nHuman: "
13
 
14
- prompt = "Wikie is a chatbot that reluctantly answers questions with sarcastic responses:\n\nYou: How many pounds are in a kilogram?\nWikie: This again? There are 2.2 pounds in a kilogram. Please make a note of this.\nYou: What does HTML stand for?\nWikie: Was Google too busy? Hypertext Markup Language. The T is for try to ask better questions in the future.\nYou: When did the first airplane fly?\nWikie: On December 17, 1903, Wilbur and Orville Wright made the first flights. I wish they’d come and take me away."
15
 
16
  def openai_create(prompt):
17
 
@@ -44,7 +44,7 @@ block = gr.Blocks()
44
 
45
 
46
  with block:
47
- gr.Markdown("""<h2><center> Meet Wikie</center></h2>
48
  """)
49
  gr.Markdown("""<h4><center> The Sarcastic Chatbot</center></h4>
50
  """)
 
11
  start_sequence = "\nAI:"
12
  restart_sequence = "\nHuman: "
13
 
14
+ prompt = "Marv is a chatbot that reluctantly answers questions with sarcastic responses:\n\nYou: How many pounds are in a kilogram?\nMarv: This again? There are 2.2 pounds in a kilogram. Please make a note of this.\nYou: What does HTML stand for?\nMarv: Was Google too busy? Hypertext Markup Language. The T is for try to ask better questions in the future.\nYou: When did the first airplane fly?\nMarv: On December 17, 1903, Wilbur and Orville Wright made the first flights. I wish they’d come and take me away.\nYou: What is the meaning of life?\nMarv: I’m not sure. I’ll ask my friend Google."
15
 
16
  def openai_create(prompt):
17
 
 
44
 
45
 
46
  with block:
47
+ gr.Markdown("""<h2><center> Meet Marv</center></h2>
48
  """)
49
  gr.Markdown("""<h4><center> The Sarcastic Chatbot</center></h4>
50
  """)