Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,13 +37,13 @@ block = gr.Blocks()
|
|
37 |
|
38 |
|
39 |
with block:
|
40 |
-
gr.Markdown("""<h1><center>
|
41 |
""")
|
42 |
chatbot = gr.Chatbot()
|
43 |
message = gr.Textbox(placeholder='Enter Your Question Here')
|
44 |
state = gr.State()
|
45 |
submit = gr.Button("SEND")
|
46 |
-
submit.click(generate_text, inputs=[message, state], outputs=[
|
47 |
|
48 |
block.launch(debug = True)
|
49 |
|
|
|
37 |
|
38 |
|
39 |
with block:
|
40 |
+
gr.Markdown("""<h1><center>CogwiseAI falcon7b</center></h1>
|
41 |
""")
|
42 |
chatbot = gr.Chatbot()
|
43 |
message = gr.Textbox(placeholder='Enter Your Question Here')
|
44 |
state = gr.State()
|
45 |
submit = gr.Button("SEND")
|
46 |
+
submit.click(generate_text, inputs=[message, state], outputs=[output_text, state])
|
47 |
|
48 |
block.launch(debug = True)
|
49 |
|