TheMaisk commited on
Commit
b8f3534
·
verified ·
1 Parent(s): 7da1d50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -50,7 +50,7 @@ logo_html = gr.HTML(
50
  value='<div style="text-align: center; margin-bottom: 10px;">'
51
  '<img src="https://einfachalex.net/wp-content/uploads/2024/02/ealogo.png" alt="Logo" style="max-width: 100px;">'
52
  '</div>'
53
- ) # Hinzugefügt: Schließende Klammer hier
54
 
55
  demo = gr.ChatInterface(
56
  fn=generate,
@@ -58,7 +58,11 @@ demo = gr.ChatInterface(
58
  title="Einfach Mixtral",
59
  retry_btn=None,
60
  undo_btn=None,
61
- theme="syddharth/gray-minimal" # Hinzufügen des Themes hier
62
  )
63
 
64
- demo.queue().launch(show_api=False)
 
 
 
 
 
50
  value='<div style="text-align: center; margin-bottom: 10px;">'
51
  '<img src="https://einfachalex.net/wp-content/uploads/2024/02/ealogo.png" alt="Logo" style="max-width: 100px;">'
52
  '</div>'
53
+ )
54
 
55
  demo = gr.ChatInterface(
56
  fn=generate,
 
58
  title="Einfach Mixtral",
59
  retry_btn=None,
60
  undo_btn=None,
61
+ theme="syddharth/gray-minimal"
62
  )
63
 
64
+ with gr.Blocks() as app:
65
+ logo_html
66
+ demo
67
+
68
+ app.queue().launch(show_api=False)