Spaces:
Runtime error
Runtime error
Carlosjr23
commited on
Commit
•
6279c15
1
Parent(s):
5668726
final update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
import openai
|
4 |
#pip3 install gradio
|
5 |
import gradio as gr
|
6 |
-
|
7 |
|
8 |
#if you have OpenAI API key as a string, enable the below
|
9 |
OPEN_AI_KEY = "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"
|
@@ -58,5 +58,5 @@ with block:
|
|
58 |
submit = gr.Button("SEND")
|
59 |
submit.click(cjrSmartBot, inputs=[message, state], outputs=[chatbot, state])
|
60 |
|
61 |
-
block.launch(
|
62 |
|
|
|
3 |
import openai
|
4 |
#pip3 install gradio
|
5 |
import gradio as gr
|
6 |
+
|
7 |
|
8 |
#if you have OpenAI API key as a string, enable the below
|
9 |
OPEN_AI_KEY = "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"
|
|
|
58 |
submit = gr.Button("SEND")
|
59 |
submit.click(cjrSmartBot, inputs=[message, state], outputs=[chatbot, state])
|
60 |
|
61 |
+
block.launch()
|
62 |
|