Spaces:
Sleeping
Sleeping
Commit
·
bb0f64a
1
Parent(s):
026ead7
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,10 +15,14 @@ def generate(text,ver):
|
|
| 15 |
return tokenizer.batch_decode(model.generate(**inputs), skip_special_tokens=True)[0]
|
| 16 |
|
| 17 |
examples = [
|
| 18 |
-
["Is
|
| 19 |
-
["Is
|
| 20 |
]
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
demo = gr.Interface(
|
| 23 |
fn=generate,
|
| 24 |
inputs=[gr.inputs.Textbox(lines=5, label="Input Text"),
|
|
|
|
| 15 |
return tokenizer.batch_decode(model.generate(**inputs), skip_special_tokens=True)[0]
|
| 16 |
|
| 17 |
examples = [
|
| 18 |
+
["Is he/she dead?"],
|
| 19 |
+
["Is he/she a female?"],
|
| 20 |
]
|
| 21 |
|
| 22 |
+
title = "Who is who chatgpt"
|
| 23 |
+
description = "Guess who is the person that chatgpt is thinking of today with the minimum number of questions!!"
|
| 24 |
+
|
| 25 |
+
|
| 26 |
demo = gr.Interface(
|
| 27 |
fn=generate,
|
| 28 |
inputs=[gr.inputs.Textbox(lines=5, label="Input Text"),
|