Spaces:
Sleeping
Sleeping
Update run.py
Browse files
run.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# Title: Gradio Writing Assistant
|
3 |
# Author: Andreas Fischer
|
4 |
# Date: May 23th, 2024
|
5 |
-
# Last update:
|
6 |
##########################################################################################
|
7 |
|
8 |
#https://github.com/abetlen/llama-cpp-python/issues/306
|
@@ -327,7 +327,7 @@ val=None
|
|
327 |
gr.ChatInterface(
|
328 |
response,
|
329 |
chatbot=gr.Chatbot(value=val, render_markdown=True),
|
330 |
-
title="KI Schreibassistenz (
|
331 |
additional_inputs=[
|
332 |
gr.Textbox(
|
333 |
value="Du bist wissenschaftlicher Mitarbeiter an einem Forschungsinstitut und zuständig für die Wissenschaftskommunikation.",
|
|
|
2 |
# Title: Gradio Writing Assistant
|
3 |
# Author: Andreas Fischer
|
4 |
# Date: May 23th, 2024
|
5 |
+
# Last update:June 7th, 2024
|
6 |
##########################################################################################
|
7 |
|
8 |
#https://github.com/abetlen/llama-cpp-python/issues/306
|
|
|
327 |
gr.ChatInterface(
|
328 |
response,
|
329 |
chatbot=gr.Chatbot(value=val, render_markdown=True),
|
330 |
+
title="KI Schreibassistenz (lokal)" if onPrem else "KI Schreibassistenz",
|
331 |
additional_inputs=[
|
332 |
gr.Textbox(
|
333 |
value="Du bist wissenschaftlicher Mitarbeiter an einem Forschungsinstitut und zuständig für die Wissenschaftskommunikation.",
|