Joe99 commited on
Commit
1db1680
1 Parent(s): 6fee847

change launch

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -41,7 +41,7 @@ def chatbot(input_text):
41
 
42
  # Create the Gradio interface
43
  print("=====Done 3")
44
- iface = gr.Interface(
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()