Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,10 +42,10 @@ def generate(prompt, history, temperature=0.25, max_new_tokens=1024, top_p=0.95,
|
|
42 |
return output
|
43 |
|
44 |
# Chatbot ohne Avatare und mit transparentem Design
|
45 |
-
|
46 |
|
47 |
# Minimalistisches Theme und Konfiguration der Gradio-Demo
|
48 |
theme = 'syddharth/gray-minimal'
|
49 |
-
demo = gr.ChatInterface(fn=generate, chatbot=
|
50 |
|
51 |
-
demo.queue().launch(show_api=False)
|
|
|
42 |
return output
|
43 |
|
44 |
# Chatbot ohne Avatare und mit transparentem Design
|
45 |
+
hesse_chatbot = gr.Chatbot(bubble_full_width=True, show_label=False, show_copy_button=False, likeable=False)
|
46 |
|
47 |
# Minimalistisches Theme und Konfiguration der Gradio-Demo
|
48 |
theme = 'syddharth/gray-minimal'
|
49 |
+
demo = gr.ChatInterface(fn=generate, chatbot=hesse_chatbot, title="Prompt-Assistant", theme=theme)
|
50 |
|
51 |
+
demo.queue().launch(show_api=False)
|