Tonic commited on
Commit
edc6972
1 Parent(s): 5429d37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -118,11 +118,12 @@ with gr.Blocks() as demo:
118
  title = "👋🏻Welcome to Tonic's GaiaMiniMed🦅⚕️Falcon Chat🚀"
119
  description = "You can use this Space to test out the current model [(Tonic/GaiaMiniMed)](https://huggingface.co/Tonic/GaiaMiniMed) with chat memory optimized for falcon models or duplicate this Space and use it locally or on 🤗HuggingFace. [Join me on Discord to build together](https://discord.gg/VqTxc76K3u)."
120
 
121
- gr.ChatInterface(
122
- generate,
123
- examples=EXAMPLES,
124
- additional_inputs=additional_inputs,
125
- theme="ParityError/Anime"
126
- )
127
 
128
- demo.queue(concurrency_count=100, api_open=True).launch(show_api=True)
 
 
118
  title = "👋🏻Welcome to Tonic's GaiaMiniMed🦅⚕️Falcon Chat🚀"
119
  description = "You can use this Space to test out the current model [(Tonic/GaiaMiniMed)](https://huggingface.co/Tonic/GaiaMiniMed) with chat memory optimized for falcon models or duplicate this Space and use it locally or on 🤗HuggingFace. [Join me on Discord to build together](https://discord.gg/VqTxc76K3u)."
120
 
121
+ client = gr.Interface(
122
+ generate,
123
+ examples=EXAMPLES,
124
+ additional_inputs=additional_inputs,
125
+ theme="ParityError/Anime"
126
+ )
127
 
128
+ # Launch the Gradio interface
129
+ client.launch(show_api=True)