Spaces:
Runtime error
Runtime error
Deila Proalfa
commited on
Commit
·
e208e45
1
Parent(s):
d01bd77
Update app.py
Browse files
app.py
CHANGED
@@ -80,22 +80,23 @@ with Gradio.Blocks(theme=custom_theme, analytics_enabled=False, css=".generating
|
|
80 |
with Gradio.Column():
|
81 |
Gradio.Markdown(
|
82 |
"""
|
83 |
-
##
|
84 |
-
|
85 |
-
|
86 |
"""
|
87 |
)
|
88 |
|
89 |
with Gradio.Row():
|
90 |
with Gradio.Box():
|
91 |
-
instruction = Gradio.components.Textbox(placeholder="
|
92 |
-
scraping = Gradio.Checkbox(value=False, label="
|
93 |
-
scrape_type = Gradio.Radio(["Web
|
94 |
|
95 |
with Gradio.Box():
|
96 |
-
output = Gradio.components.Textbox(value="", label="
|
97 |
|
98 |
-
submit = Gradio.Button("
|
99 |
submit.click(run_falcon, inputs=[instruction, scraping, scrape_type], outputs=[output])
|
100 |
|
|
|
101 |
demo.queue(concurrency_count=1).launch(debug=True) # type: ignore
|
|
|
80 |
with Gradio.Column():
|
81 |
Gradio.Markdown(
|
82 |
"""
|
83 |
+
## FREEGPT4ALL
|
84 |
+
Falcon Modell
|
85 |
+
Gib deine Frage in das untenstehende Feld ein und klicke auf den Button, um Antworten auf deine dringendsten Fragen zu erhalten!
|
86 |
"""
|
87 |
)
|
88 |
|
89 |
with Gradio.Row():
|
90 |
with Gradio.Box():
|
91 |
+
instruction = Gradio.components.Textbox(placeholder="Was stellt die philippinische Flagge dar?", label="Eingabe", info="Was möchtest du GPT4ALL fragen?")
|
92 |
+
scraping = Gradio.Checkbox(value=False, label="Web-Scraping für unbekannte Informationen durchführen", info="Scraping (Deaktiviert)")
|
93 |
+
scrape_type = Gradio.Radio(["Web-Scraping", "Kurzbeschreibungen"], label="Scraping-Taktik", info="Möchtest du, dass GPT4ALL Web-Scraping nutzt? Wenn ja—wie gründlich?")
|
94 |
|
95 |
with Gradio.Box():
|
96 |
+
output = Gradio.components.Textbox(value="", label="Ausgabe", info="Die Gedanken von GPT4ALL")
|
97 |
|
98 |
+
submit = Gradio.Button("Generieren", variant="primary")
|
99 |
submit.click(run_falcon, inputs=[instruction, scraping, scrape_type], outputs=[output])
|
100 |
|
101 |
+
|
102 |
demo.queue(concurrency_count=1).launch(debug=True) # type: ignore
|