Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ def get_top_chunks(query):
|
|
| 58 |
return top_chunks
|
| 59 |
|
| 60 |
client = InferenceClient(
|
| 61 |
-
model='Qwen/Qwen2.5-72B-Instruct'
|
| 62 |
#token = os.getenv('HF_TOKEN')
|
| 63 |
)
|
| 64 |
|
|
@@ -113,5 +113,5 @@ with gr.Blocks(theme='hmb/amethyst') as demo:
|
|
| 113 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
| 114 |
send.click(respond, [msg, chatbot], [msg, chatbot])
|
| 115 |
|
| 116 |
-
|
| 117 |
demo.launch()
|
|
|
|
| 58 |
return top_chunks
|
| 59 |
|
| 60 |
client = InferenceClient(
|
| 61 |
+
model='Qwen/Qwen2.5-72B-Instruct'
|
| 62 |
#token = os.getenv('HF_TOKEN')
|
| 63 |
)
|
| 64 |
|
|
|
|
| 113 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
| 114 |
send.click(respond, [msg, chatbot], [msg, chatbot])
|
| 115 |
|
| 116 |
+
chatbot.launch(debug=True)
|
| 117 |
demo.launch()
|