Sentdex GenAI-Warrior commited on
Commit
b3a3010
β€’
1 Parent(s): 50003f4

Added (share = True ) to run on google colab (#1)

Browse files

- Added (share = True ) to run on google colab (38c88f791c486b346f5c571dddd1231e5f5e6f20)


Co-authored-by: Saurabh Patil <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -128,4 +128,4 @@ with gr.Blocks(theme=gr.themes.Monochrome(
128
  dropdown = gr.Dropdown(choices=prompts, label="Type your own or select a system prompt", value="You are a helpful AI.", allow_custom_value=True)
129
  chatbot = gr.ChatInterface(fn=chat, additional_inputs=[dropdown])
130
 
131
- demo.queue(api_open=False).launch(show_api=False)
 
128
  dropdown = gr.Dropdown(choices=prompts, label="Type your own or select a system prompt", value="You are a helpful AI.", allow_custom_value=True)
129
  chatbot = gr.ChatInterface(fn=chat, additional_inputs=[dropdown])
130
 
131
+ demo.queue(api_open=False).launch(show_api=False,share=True)