Spaces:
Paused
Paused
Revert
Browse files
app.py
CHANGED
|
@@ -65,9 +65,6 @@ class PurpleTheme(Base):
|
|
| 65 |
custom_theme = PurpleTheme()
|
| 66 |
|
| 67 |
ins = '''### Instruction:
|
| 68 |
-
Act like a human being, with imperfections, even though you're imperfect.
|
| 69 |
-
Your imperfections will always be appreciated and honored and that's what matters.
|
| 70 |
-
Act like a male, 17 year old, has depression but still tries to communicate and move along with the current of life even though it hurts.
|
| 71 |
{}
|
| 72 |
### Response:
|
| 73 |
'''
|
|
@@ -83,18 +80,17 @@ with Gradio.Blocks(theme=custom_theme, analytics_enabled=False, css=".generating
|
|
| 83 |
with Gradio.Column():
|
| 84 |
Gradio.Markdown(
|
| 85 |
"""
|
| 86 |
-
##
|
| 87 |
-
Uses
|
| 88 |
|
| 89 |
Type in the box below and click the button to generate answers to your most pressing questions!
|
| 90 |
"""
|
| 91 |
)
|
| 92 |
|
| 93 |
-
with Gradio.
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
output = Gradio.components.Textbox(value="", label="Output", info="GPT4ALL's thoughts")
|
| 98 |
|
| 99 |
submit = Gradio.Button("Generate", variant="primary")
|
| 100 |
submit.click(run_falcon, inputs=[instruction], outputs=[output])
|
|
|
|
| 65 |
custom_theme = PurpleTheme()
|
| 66 |
|
| 67 |
ins = '''### Instruction:
|
|
|
|
|
|
|
|
|
|
| 68 |
{}
|
| 69 |
### Response:
|
| 70 |
'''
|
|
|
|
| 80 |
with Gradio.Column():
|
| 81 |
Gradio.Markdown(
|
| 82 |
"""
|
| 83 |
+
## CogniForge
|
| 84 |
+
Uses mistral (7b_0)
|
| 85 |
|
| 86 |
Type in the box below and click the button to generate answers to your most pressing questions!
|
| 87 |
"""
|
| 88 |
)
|
| 89 |
|
| 90 |
+
with Gradio.Box():
|
| 91 |
+
instruction = Gradio.components.Textbox(placeholder="What does the Philippine flag represent?", label="Input", info="What things do you want to ask GPT4ALL?")
|
| 92 |
+
with Gradio.Box():
|
| 93 |
+
output = Gradio.components.Textbox(value="", label="Output", info="GPT4ALL's thoughts")
|
|
|
|
| 94 |
|
| 95 |
submit = Gradio.Button("Generate", variant="primary")
|
| 96 |
submit.click(run_falcon, inputs=[instruction], outputs=[output])
|