sablab commited on
Commit
5183725
·
verified ·
1 Parent(s): 535f785

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -1
app.py CHANGED
@@ -93,8 +93,20 @@ demo = gr.Interface(
93
  title="Mistral 7B Instruct",
94
  layout="centered",
95
  inputs=additional_inputs,
 
96
  css=css,
97
  show_copy=True # Add this line to show the copy button
98
  )
99
 
100
- demo.launch(inline=True)
 
 
 
 
 
 
 
 
 
 
 
 
93
  title="Mistral 7B Instruct",
94
  layout="centered",
95
  inputs=additional_inputs,
96
+ outputs=output,
97
  css=css,
98
  show_copy=True # Add this line to show the copy button
99
  )
100
 
101
+ demo.launch(inline=True)
102
+
103
+ """"
104
+ with gr.Blocks(css=css) as demo:
105
+ gr.HTML("<h1><center>Mistral 7B Instruct<h1><center>")
106
+ gr.ChatInterface(
107
+ generate,
108
+ additional_inputs=additional_inputs,
109
+ )
110
+
111
+ demo.queue().launch(debug=True)
112
+ """"""