Spaces:
Sleeping
Sleeping
Commit ·
64cccc9
1
Parent(s): 9870e54
updated agent
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ with gr.Blocks(title="LLaMA-3 Coding Agent") as demo:
|
|
| 28 |
send.click(handle_query, [msg, chatbot], [chatbot, msg])
|
| 29 |
msg.submit(handle_query, [msg, chatbot], [chatbot, msg])
|
| 30 |
|
| 31 |
-
with gr.Tab("Upload PDF /
|
| 32 |
file_input = gr.File(label="Upload PDF or Python File", file_types=[".pdf", ".py"])
|
| 33 |
upload_btn = gr.Button("Upload")
|
| 34 |
output = gr.Textbox()
|
|
|
|
| 28 |
send.click(handle_query, [msg, chatbot], [chatbot, msg])
|
| 29 |
msg.submit(handle_query, [msg, chatbot], [chatbot, msg])
|
| 30 |
|
| 31 |
+
with gr.Tab("Upload PDF /code file"):
|
| 32 |
file_input = gr.File(label="Upload PDF or Python File", file_types=[".pdf", ".py"])
|
| 33 |
upload_btn = gr.Button("Upload")
|
| 34 |
output = gr.Textbox()
|