Spaces:
Running
on
Zero
Running
on
Zero
set gpt-engineer
Browse files- {tests → databases}/database.db +0 -0
- routers/chat/chat.py +2 -2
{tests → databases}/database.db
RENAMED
File without changes
|
routers/chat/chat.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
from mysite.utilities import chat_with_interpreter, completion, process_file
|
3 |
from interpreter import interpreter
|
4 |
import mysite.interpreter_config # インポートするだけで設定が適用されます
|
5 |
import duckdb
|
@@ -82,7 +82,7 @@ def chat_with_interpreter(
|
|
82 |
# output = '\n'.join(item['content'] for item in result if 'content' in item)
|
83 |
full_response = format_response(chunk, full_response)
|
84 |
yield full_response # chunk.get("content", "")
|
85 |
-
|
86 |
# Extract the 'content' field from all elements in the result
|
87 |
|
88 |
yield full_response
|
|
|
1 |
import gradio as gr
|
2 |
+
from mysite.utilities import chat_with_interpreter, completion, process_file,no_process_file
|
3 |
from interpreter import interpreter
|
4 |
import mysite.interpreter_config # インポートするだけで設定が適用されます
|
5 |
import duckdb
|
|
|
82 |
# output = '\n'.join(item['content'] for item in result if 'content' in item)
|
83 |
full_response = format_response(chunk, full_response)
|
84 |
yield full_response # chunk.get("content", "")
|
85 |
+
no_process_file(message,"ai")
|
86 |
# Extract the 'content' field from all elements in the result
|
87 |
|
88 |
yield full_response
|