Spaces:
Sleeping
Sleeping
change launch
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ def chatbot(input_text):
|
|
| 41 |
|
| 42 |
# Create the Gradio interface
|
| 43 |
print("=====Done 3")
|
| 44 |
-
|
| 45 |
fn=chatbot,
|
| 46 |
inputs='text',
|
| 47 |
outputs='text',
|
|
@@ -49,7 +49,7 @@ iface = gr.Interface(
|
|
| 49 |
interpretation="chat",
|
| 50 |
title="ChatFinance",
|
| 51 |
description="Ask the a question and see its response!",
|
| 52 |
-
)
|
| 53 |
-
print("=====Done 4")
|
| 54 |
-
# Launch the Gradio interface
|
| 55 |
-
iface.launch()
|
|
|
|
| 41 |
|
| 42 |
# Create the Gradio interface
|
| 43 |
print("=====Done 3")
|
| 44 |
+
gr.Interface(
|
| 45 |
fn=chatbot,
|
| 46 |
inputs='text',
|
| 47 |
outputs='text',
|
|
|
|
| 49 |
interpretation="chat",
|
| 50 |
title="ChatFinance",
|
| 51 |
description="Ask the a question and see its response!",
|
| 52 |
+
).launch()
|
| 53 |
+
# print("=====Done 4")
|
| 54 |
+
# # Launch the Gradio interface
|
| 55 |
+
# iface.launch()
|