ecyht2 commited on
Commit
8d17de7
1 Parent(s): 91b4cd0

fix: Moved interface to Blocks

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -139,5 +139,8 @@ iface = gr.ChatInterface(
139
  title="LLAMA CPP Template"
140
  )
141
 
 
 
 
142
  logging.info("Starting Application")
143
- iface.launch(show_api=False)
 
139
  title="LLAMA CPP Template"
140
  )
141
 
142
+ with gr.Blocks() as demo:
143
+ iface.render()
144
+
145
  logging.info("Starting Application")
146
+ demo.launch(show_api=False)