Spaces:
Sleeping
Sleeping
fix: gradio version bump + server binding for HF Spaces
Browse files- app.py +2 -1
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -210,4 +210,5 @@ with gr.Blocks(title="IntelliCode RAG Assistant", theme=gr.themes.Soft()) as dem
|
|
| 210 |
btn_explain.click(lambda h, m: quick_action("Explain this code", h, m), inputs=[chatbot, mode], outputs=[chatbot, msg])
|
| 211 |
|
| 212 |
if __name__ == "__main__":
|
| 213 |
-
demo.launch()
|
|
|
|
|
|
| 210 |
btn_explain.click(lambda h, m: quick_action("Explain this code", h, m), inputs=[chatbot, mode], outputs=[chatbot, msg])
|
| 211 |
|
| 212 |
if __name__ == "__main__":
|
| 213 |
+
demo.launch(server_name="0.0.0.0", server_port=7860)
|
| 214 |
+
|
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
gradio==4.44.
|
| 2 |
spaces
|
| 3 |
transformers==4.38.2
|
| 4 |
accelerate==0.27.2
|
|
|
|
| 1 |
+
gradio==4.44.1
|
| 2 |
spaces
|
| 3 |
transformers==4.38.2
|
| 4 |
accelerate==0.27.2
|